On Tue, 13 Feb 2007, Eric Enright wrote:
>> root:andal:amd64:~# route add -blackhole 1.2.3.4 127.0.0.1
>> add host 1.2.3.4: gateway 127.0.0.1
>> root:andal:amd64:~# time telnet 1.2.3.4
>> Trying 1.2.3.4...
>> telnet: Unable to connect to remote host: Network is unreachable
>>
>> real 0m0.005s
>> user 0m0.001s
>> sys 0m0.003s
>
> ipf maybe? Something like:
>
> block out quick on if0 proto tcp from any to 1.2.3.4 port = 23
hi Eric, the problem is, as noted, that unfortunately if0 = lo0. I
need to do that on local machine only.
Jan.
--
Jan Pechanec
_______________________________________________
networking-discuss mailing list
[email protected]