Using wg-easy v15.1.0
On TruenNAS Scale 25.10-BETA.1
I had a wg-easy VPN successfully setup on a previous TrueNAS installation. I had to set TrueNAS again for other reasons and the copied settings don’t work with the new version of wg-easy.
I’ve looked for/followed several guides online but I still have some kind of config error. Most of the guides were for the previous wg-easy version and I have likely misunderstood how to apply them to the new version.
The we-easy app is configured for port 51820 in the TrueNAS settings.
The wg-easy web GUI is configured for port 51820 and the same interface as the one from my TrueNAS networking page.
I set up a DDNS + hostname via the asus router’s options as well.
Finally, I used the QR code from the wg-easy web GUI to create the tunnel on the phone app. When I enable the connection on both the phone app and the webGUI, there is a small amount of data transfer observable on both, and it appears to stop. I’m unable to access internal network addresses (like the TrueNAS server) or external web addresses on the phone while the WG connection is up.
I’ve clearly gotten something wrong. Any help is appreciated, including letting me know what additional info you need to better diagnose what I got wrong.
I ran into the very same issue a few weeks ago. The default configuration is not sufficient, you need to edit a couple of things to make networking work.
If you’re willing to have a split tunnel, with some extra subnets, I think your config works well.
If you’re wishing to enroute all the traffic (full tunnel), then better to use 0.0.0.0/0.
Ok, I’ve worked out how to select br01 in the WG config page. I can connet and access internal resources but I cannot connect to the internet from my remote client.
I added all those ‘allowed IPs’ as suggested above and can access internal devices but not the internet.
If I just have 0.0.0.0/0 i cannot connect to internal devices or the internet.
On another thread someone put their router IP as a DNS and I’ve added that to my config and my remote client can now access the internet and internal devices.