Steven P. Administrators Posted April 11, 2023 Administrators Share Posted April 11, 2023 I have been trying to setup my NAS so that it is permanently connected to VPN, this is working over OpenVPN configuration from PIA and I can confirm when I use qbittorrent docker that the VPN address is being used, in this way I can use qbittorrent over my LAN instead of my client PC. However I also have things like Plex, Emby and other services that I would like to connect to externally, for this purpose I setup DDNS, which was working fine so long as I was not connected to the VPN adapter. I found this tutorial to do some routing so that the external DDNS updated to my ISP IP, but it is not working. I sent a support ticket to ChangeIP.com and they told me they only use one IP to update the DDNS, which I added to a static route. When I press update with the above configuration, the VPN IP is getting used: Other notes: I wanted to use tcpdump to confirm the IP addresses being used to update ddns.info (ChangeIP.com) but the CPhub.net package source for Synology apps no longer works, so I couldn't install that. If we assume that ChangeIP.com really does only use that IP for checking DDNS updates then it should work. When I go to Router Configuration it says "Your gateway settings is invalid" why? The service order is VPN > LAN (IP address of my ISP router) and enable multiple gateways is checked (enabled). The NAS has a static LAN IP address. Link to comment https://www.neowin.net/forum/topic/1427815-static-route-to-update-my-ddns-what-am-i-doing-wrong/ Share on other sites More sharing options...
+InsaneNutter MVC Posted April 11, 2023 MVC Share Posted April 11, 2023 Out of curiosity is anything else on the NAS required to be behind the VPN? If not it might be better to keep things simple and use a qBittorrent Docker with VPN support built in. Binhex produce a popular Docker that even has a PIA configuration example: https://hub.docker.com/r/binhex/arch-qbittorrentvpn/ Link to comment https://www.neowin.net/forum/topic/1427815-static-route-to-update-my-ddns-what-am-i-doing-wrong/#findComment-598811857 Share on other sites More sharing options...
Steven P. Administrators Posted April 11, 2023 Author Administrators Share Posted April 11, 2023 On 11/04/2023 at 10:28, InsaneNutter said: Out of curiosity is anything else on the NAS required to be behind the VPN? If not it might be better to keep things simple and use a qBittorrent Docker with VPN support built in. Binhex produce a popular Docker that even has a PIA configuration example: https://hub.docker.com/r/binhex/arch-qbittorrentvpn/ No, just the qbittorrent, so I will have a look at that, thanks! Link to comment https://www.neowin.net/forum/topic/1427815-static-route-to-update-my-ddns-what-am-i-doing-wrong/#findComment-598811861 Share on other sites More sharing options...
Steven P. Administrators Posted April 15, 2023 Author Administrators Share Posted April 15, 2023 Paging @BudManI would really like this option Link to comment https://www.neowin.net/forum/topic/1427815-static-route-to-update-my-ddns-what-am-i-doing-wrong/#findComment-598813097 Share on other sites More sharing options...
+BudMan MVC Posted April 16, 2023 MVC Share Posted April 16, 2023 What option.. Multiple neworks on your interface 2.5g? Both? Oh my bad thought this was a different thread.. let me look what your asking. I am traveling an look via a remote connection to my desktop via chromebook so not all that easy to make out but its a bit difficult... I get back from travel on tuesday - so try and take a look at this thread on wed.. But I wouldn't do it this way, I would route traffic at my router not on my nas.. So I would set traffic for my qtorrent out vpn at my router since it would be using different IP then my normal nas.. And your dns settings are not ging to work like you want, you have no control if would use your local or public dns - going to be impossilbe to resolve stuff on google that ar elocal resources . Steven P. 1 Share Link to comment https://www.neowin.net/forum/topic/1427815-static-route-to-update-my-ddns-what-am-i-doing-wrong/#findComment-598813139 Share on other sites More sharing options...
AdderallBuyersClub Posted August 11, 2023 Share Posted August 11, 2023 You shouldnt be using your synology as a router to do this. Do you have UPNP enabled on your router/modem? For the static route, are you using the ip of 204.16.169.54 - 255.255.255.255 - LAN Gateway IP 192.168.0.1 example. Link to comment https://www.neowin.net/forum/topic/1427815-static-route-to-update-my-ddns-what-am-i-doing-wrong/#findComment-598842423 Share on other sites More sharing options...
Steven P. Administrators Posted August 11, 2023 Author Administrators Share Posted August 11, 2023 I ended up doing a Gluetun & Qbittorrent Docker container so this is no longer an issue. But to clarify, I wanted a permanent solution to keep my ever changing ISP IP updated for my ddns. Link to comment https://www.neowin.net/forum/topic/1427815-static-route-to-update-my-ddns-what-am-i-doing-wrong/#findComment-598842448 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now