Date: 11 Nov 2005 12:29:00 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Perttu Laine <plaine@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: route how to? Message-ID: <44ek5nccv7.fsf@be-well.ilk.org> In-Reply-To: <c6ef380c0511110915i57759494gb3bd1cab37a17396@mail.gmail.com> References: <c6ef380c0511110915i57759494gb3bd1cab37a17396@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Perttu Laine <plaine@gmail.com> writes: > I'd like to add route to my computer so one ip would be forwarded to > "/dev/null". So all other connections would work normally, but connection to > for example 192.168.10.1 <http://192.168.10.1> would not work. How can this > be done? And I propably need same for IPv6 too. I'd like to this with route > instead of firewall 'cause this is temporary and kernel of that computer > don't have pf enabled at the moment. > > Oh. And if I add this route, how can delete it later? 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ek5nccv7.fsf>