[ale] OpenVPN Question

Jim Popovitch yahoo at jimpop.com
Thu Oct 9 10:27:32 EDT 2008


On Thu, Oct 9, 2008 at 08:17, Chris Fowler <cfowler at outpostsentinel.com> wrote:
> The idea is that I can install OpenVPN on the VPN server and allow
> individual
> techs access via OpenVPN to this "network".  The problem is that I need to
> feed those static routes to the Windows PC so it will know how to access
> these remote sites.  A simple solution is to write a batch script and
> have a link on the users desktop.  The bring up the VPN and then click the
> link.  Another solution is to have OpenVPN assign those routes on the
> Windows PC the minute the VPN comes up.  Is that possible?

What you are looking for is the push/pull aspects of openvpn.   On the
openvpn server config you specify "push" (which is assumed if your
mode is server), and in the client configs you specify pull (which
allows the server to push routes to the client(s).

Then, in the server config file all you have to do is add route
statements like this:

          route 192.168.100.0 255.255.255.0 10.11.3.1  2


-Jim P.


More information about the Ale mailing list