On 11 Nov 2005 12:29:00 -0500, Lowell Gilbert <
[EMAIL PROTECTED]> wrote:
>
> Perttu Laine <[EMAIL PROTECTED]> 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> <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.
>

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?

--
kpn @ IRCnet
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to