[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

Re: [Openvpn-users] 2.0: setting route

  • Subject: Re: [Openvpn-users] 2.0: setting route
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Sat, 31 Jul 2004 15:28:11 -0500

On Saturday 31 July 2004 00:35, Marius Andreiana wrote:
> Hi
> I setup 2.0 version using tap between linux-linux.
> The 'office' is using 192.168.0.x for internal net, and server conf has:
> # The server's virtual subnet
> ifconfig
> ifconfig-pool
> The client works fine if I manually add the route to office internal
> net:
> route add -net netmask dev tap0
> How could I do this in openvpn directly, so it would work right away,
> for linux&windows clients?
> I don't what to put instead of ? below:
> #push "route --route-gateway ?"

The push command above won't work.

You want something like

  push "route"
  push "route-gateway x.x.x.x"


Openvpn-users mailing list