I have a TP-Link VR400 Archer router on which I want to enable the OpenVPN server, so that a remote user can connect to the network and access a specific computer on the internal LAN. The router has an address of, subnet mask, and has a DHCP server running, handing out addresses in the range The default settings for the OpenVPN configuration on the router's web interface are a VPN Subnet of and Netmask of

If I go with that, I assume it means that when I connect via an OpenVPN client from the remote computer, that remote computer will be seen as within subnet and will therefore not be able to talk to the particular computer in question which it needs to, namely How do I allow it to do so? I have heard about something called static routing, so I'm wondering whether that might be the answer?

The TP-Link router does allow me to set up a PPTP VPN instead, with a constrained IP range. It defaults to suggesting -, but might it be possible to change that to something like -, i.e., within the same subnet as the local computers but with no possibility of a clash?

2 Answers 2


Selecting 'Internet and Home Network' does indeed work as I had hoped. I enabled the OpenVPN server on the router with this setting, and connected to it from a remote OpenVPN client, which had been assigned the IP address Although there is a machine on the remote client's LAN with the IP address, it does in fact connect correctly to the server with the IP address on the LAN behind the OpenVPN server.

  • Correct. It is a consequence of routing rule added at vpn startup. either is desserved by tun0 interface (vpn is up), or by eth0 (vpn is down). Nov 22, 2019 at 5:33

According to the documentation page 67 :

  1. Select your Client Access type. Select Home Network Only if you only want the remote device to access your home network; select Internet and Home Network if you also want the remote device to access the internet through the VPN Server.

This means that the vpn server push your home network ( route automatically to the openvpn client when it connects.

And you are right, the openvpn client will have a 10.8.0.x ip address.

  • OK, I think I understand that a little better. If the remote LAN I'm connecting from also has a machine with the IP address of, I presume my remote client would connect to that in preference to the one behind the VPN server, but maybe choosing 'Internet and Home Network' would get around this? Otherwise how could my remote client specifically target a machine behind the VPN server, instead of one with the same IP address on its local LAN?
    – John Moore
    Nov 21, 2019 at 17:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.