Hello to all,
I need help to set up wireguard to access my files from outside. I followed the instructions in the official doc here: https://www.truenas.com/docs/core/coretutorials/network/wireguard/
I created the configuration file /root/wg0.conf, here it is :
On the nas side
Device (pc) side
As said in the documentation, I then restarted the server, then entered the ifconfig wg0 command, it returned :
Do you know what's wrong with it?
I need help to set up wireguard to access my files from outside. I followed the instructions in the official doc here: https://www.truenas.com/docs/core/coretutorials/network/wireguard/
I created the configuration file /root/wg0.conf, here it is :
On the nas side
[Interface]
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Address = 100.100.100.1
ListenPort = 50000
[Peer]
PublicKey = yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
AllowedIPs = 100.100.100.2
Device (pc) side
[Interface]
PrivateKey = zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Address = 100.100.100.2
[Peer]
PublicKey = tttttttttttttttttttttttttttttttttttttttttttttttttttttttt
AllowedIPs = 100.100.100.1
Endpoint = 104.45.48.75:50000
As said in the documentation, I then restarted the server, then entered the ifconfig wg0 command, it returned :
root@truenas[~]# ifconfig wg0
ifconfig: interface wg0 does not exist
Do you know what's wrong with it?