I’ve set up an OpenVPN VPN on my Synology NAS, however when I connect to it on my phone outside of my network, my IP address is not changing. I would assume that it should pick up my home IP address but this doesn’t appear to be happening. The VPN does work as per the logs on the app but I need it to change my IP address to the one on my home network, is there something I’m missing?
That will depend on whether your openvpn server is setup in bridge mode or routing mode. In bridge mode your vpn client should receive an ip address from your home lan subnet, in routing mode it will receive an ip address from the openvpn defined subnet (normally something like 10.8.0.0/16).
This may be better asked in the Synology subreddit then unless there’s a way to change it in the config file - I’ve just set it up like this.
When I connect, the log files show this, the connected from IP address is the IP address I get when I use 4G. But when I check my IP address it’s still the IP address of my 4G connection.
I’m trying to connect to the internet via my home connection so that I can use it on my phone at work where the 4G is non-existent and the wifi blocks a lot of stuff, and I’ve heard that a VPN should get around it. I do actually have a commercial VPN but I would prefer to use my home IP since everything is already authenticated through that anyway and stuff on my phone might freak out if my accounts start getting connected to via a known VPN IP.
I don’t know which address you’re checking. The phone will always use the 4G address to talk to your home internet router but the vpn traffic it sends will be using the 10.8.0.6 address as reported by the client. The OpenVPN server on the Nas will route the VPN traffic out to your home lan.
I’m just checking it on whatismyip on my web browser. I figured it was something to do with the IP showing the 4G IP/work IP since blocked sites didn’t work when connected to it but maybe I’m wrong.
You need to tell the OpenVPN client to route all traffic over the VPN.
Thanks this fixed it!
sry for necrobump, but this was stellar info. Thank you!