Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2006 08:34:04 -0200
From:      Tiago Cruz <tiagocruz@b4br.net>
To:        nielsen@memberwebs.com
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@FreeBSD.org>
Subject:   Re: VPN when host is not gateway
Message-ID:  <1138358044.9340.10.camel@localhost.localdomain>
In-Reply-To: <20060126235041.3981BDCA990@mail.npubs.com>
References:  <1138044412.4224.21.camel@localhost.localdomain> <20060123204939.A46D4DCAA42@mail.npubs.com> <1138110261.6174.27.camel@localhost.localdomain> <20060126235041.3981BDCA990@mail.npubs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1138358044.9340.10.camel>