VPN when host is not gateway

Tiago Cruz tiagocruz at b4br.net
Fri Jan 27 02:34:19 PST 2006


On Thu, 2006-01-26 at 23:50 +0000, Nate Nielsen wrote:

> > So, my questions is this: How I make this route?
> 
> I guess either with the 'route' command or by running a routing protocol
> like RIP or OSPF.

Thank you, but I can do this:

I make this route at my FreeBSD gateway:

cat /usr/local/etc/rc.d/routes.sh
#!/usr/local/bin/bash
route delete 10.8.0.0 &> /dev/null
route add -net 10.8.0.0 -netmask 255.255.255.0 192.168.0.253 &>/dev/null

And now all works very good :-)

-- 

Tiago Cruz
http://linuxrapido.org
Linux User #282636

"The box said: Requires MS Windows or better, so I installed Linux"



More information about the freebsd-net mailing list