Hello Everyone,
I was trying to follow this guide to setup wg-easy on my TrueNAS but it just doesn't work.I thought I had a simple issue here and after like 10 hours of fiddling I still could not get wg working. I would like to do the following:
- I have a router at
192.168.0.1 and have DDNS set up.
- I would like to connect to my TrueNAS PC at
192.168.0.123 with a wireguard client through mobile internet and have full tunnel VPN. Wg is configured to be on the
10.8.0.0 subnet.
- I would like to access my apps on TrueNAS. Usually I access them through
192.168.0.123/[portnum] I did not install metallb and did not assign separate URLs.
- I would like my pihole to act like a DNS server.
I could set up everything except accessing my apps (emby, photoprism). I can ping the router and my TrueNAS from mobile internet. I can ping my mobile phone being on mobile internet with my TrueNAS. I tried all sorts of AllowIPs settings (including the one below which is probably wrong), different DNS server settings, whatever I could think of but still couldn't access my apps. Could someone help me identify where the problem is?
Here are my settings:
Besides these the only setting which is network related is net.ipv4.ip_forward=1 in sysctl. I also tried to use NAT settings which worked before with OpenVPN but they don't work with wg (because wg does NAT on its own AFAIK). I apologize in advance if I seem like a noob. I very much feel like when it comes to network in general.
Any help is appreciated!
Cheers!