Date: Fri, 11 Nov 2005 12:52:41 -0500 (EST) From: "David van Geyn" <webformsNOSPAM@noc.peon.net> To: "Perttu Laine" <plaine@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: route how to? Message-ID: <4262.130.15.15.61.1131731561.squirrel@secure1.vangeyn.net> In-Reply-To: <c6ef380c0511110936n31b6c787kbc0c065583da6de4@mail.gmail.com> References: <c6ef380c0511110915i57759494gb3bd1cab37a17396@mail.gmail.com> <44ek5nccv7.fsf@be-well.ilk.org> <c6ef380c0511110936n31b6c787kbc0c065583da6de4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 11 Nov 2005 12:29:00 -0500, Lowell Gilbert > <freebsd-questions-local@be-well.ilk.org> wrote: >> >> Perttu Laine <plaine@gmail.com> writes: >> >> I usually do this kind of thing with a firewall, but the routing table >> is a good way too. >> >> "man route" will explain everything you need to do. >> > > I asked because I'm not very familiar with route and don't want to broke > everything. :) > But is this ok: route add 192.168.10.1 <http://192.168.10.1> > 127.0.0.1<http://127.0.0.1> > or does it matter what I put as gateway? > Try this: route add 192.168.10.1/32 localhost -reject You don't want to put those <http://whatever> things in there. regards, David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4262.130.15.15.61.1131731561.squirrel>