1

VPN and internal routing

view story
linux-howto

http://www.linuxquestions.org – I have an openvpn access server setup running centos. I've allowed all my private subnets access from vpn clients, as well. A lot of people connect to the vpn on the internal network as well, which is fine, but I want to change the preferred route when connecting internally. Basically this is my issue: 10.1.2.1 is becoming the gateway because that is the range assigned by the OpenVPN access server (10.1.2.0/24) when connecting to it using the client. When connecting from an internal IP address (172.16.0.0/16) it's using the 10.1.2.1 gateway as the preferred route to an internal server, as (HowTos)