Static route on connecting client

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
craigjw
OpenVpn Newbie
Posts: 17
Joined: Mon May 14, 2012 12:10 pm

Static route on connecting client

Post by craigjw » Wed Jul 18, 2012 12:41 pm

Hi all,

I have an overlapping network issue where the AccessServer is on a 192.168.1.0/24 network and so any client who comes from a local LAN that is 192.168.1.0/24 cant get to anything on that subnet. If I add a "route add 192.168.1.0 mask 255.255.255.0 10.1.1.1" (10.1.1.1 being the IP address the gateway of the dynamic address the client gets) I can then connect.

So, my question is, how can I add that automatically to connecting clients?

Thanks
Craig

Post Reply