Posts: 1,088
Threads: 1,089
Joined: Feb 2020
Reputation:
2
I am currently on part 7 of your QNAP NAS series and I enjoy it very much. Since I am using graphene OS on my mobilee Device Teamviewer and Tailscale dont work for me. What does work is Wireguard and OpenVPN. While I couldnt establish a connection with OpenVPN, the connection I got with WG worked on the first try but only inside the home network. Can I use WG to remotly connect into my network? IF yes how? And is there a better way to bypass all of that by using Ipv6 as a commentor under your video suggested?
Best
Posts: 5,284
Threads: 2
Joined: Jun 2022
Reputation:
35
Yes you can use WireGuard to connect remotely but you need to make the NAS or router reachable from the internet and a few settings fixed. Run WireGuard as a server on the NAS or, better, on your router so the whole LAN is available. Expose the WireGuard UDP port to the internet by forwarding the server port from your router to the NAS or router IP or run the server on a public VPS and point peers at that endpoint. On the client set AllowedIPs to the routes you want to reach and add PersistentKeepalive 25 so the client keeps a NAT mapping alive. If your ISP gives you a public IPv4 address you can use dynamic DNS to avoid dealing with changing IPs. If you have native global IPv6 from your ISP you can skip port forwarding entirely by using the NAS or router IPv6 address as the WireGuard endpoint and allowing the WireGuard port through the IPv6 firewall, which makes remote connections simpler and more reliable. Check firewall rules on the NAS and router, confirm the WireGuard peer public keys and endpoints match, and test from mobile over a cellular network to verify external access. If you want a simpler turnkey option later consider a small cheap VPS as a WireGuard relay or a commercial zero trust mesh, but for now WireGuard plus port forwarding or native IPv6 will get you remote access.