Posted: Wed Jul 17, 2019 22:30 Post subject: Need to access home server that is behind openVPN via DDNS
I have a server at my home that is running multiple services on multiple ports that I would like to access from work/remote locations. I have internet service that provides dynamic IP and so I have a DDNS provider (Google Domains) that is set up to receive the actual IP from a script running on the server every 15 min. Forwarding is enabled for all appropriate ports through the NAT page.
This all works great when openVPN (VPN provided through FastestVPN) is not enabled, but once I turn this service on, I am no longer able to access these services through a remote browser.
I know this has to be because the IP address that gets reported to the DDNS service is the IP from the VPN and not that from my ISP.
I want to know if its possible to keep the server behind the VPN and still access it from a remote location. I do not have the expertise to resolve this issue on my own, therefore any help is appreciated.
Joined: 18 Mar 2014 Posts: 3678 Location: Netherlands
Posted: Thu Jul 18, 2019 6:54 Post subject:
Normally DDWRT gives your WAN IP address to the DDNS service unless you enable external IP check. So that should not be the problem
The problem probably is that if you enable the VPN client all traffic is going out through that VPN client.
When reaching your router from outside via the WAN your firewall will not like it if traffic goes out via the VPN and will block it.