|
|
On Sat, 2004-07-31 at 15:28 -0500, James Yonan wrote: > 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 192.168.1.1 255.255.255.0 > > ifconfig-pool 192.168.1.4 192.168.1.250 > > > > The client works fine if I manually add the route to office internal > > net: > > route add -net 192.168.0.0 netmask 255.255.255.0 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 192.168.0.0 255.255.255.0 --route-gateway ?" > > The push command above won't work. > > You want something like > > push "route 192.168.0.0 255.255.255.0" > push "route-gateway x.x.x.x" Thank you! It works great now! -- Marius Andreiana Galuna - Solutii Linux in Romania http://www.galuna.ro ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |