IPFILTER Help

Norberto Meijome freebsd at meijome.net
Mon Jun 27 16:11:25 GMT 2005


> 
> One way to resolve this would be to block all SMB/CIFS related traffic
> from reaching *out* of your FreeBSD gateway.
> 

Hi,
One thing to remember which may not be obvious at first - if you simply 
drop the packet, the client will wait till it times out, giving you that 
impression of just hanging/waiting. If instead, you reject the packet 
with the proper icmp code, the client will fail right away.

For traffic from your LAN, you may want to reject rather than drop. For 
traffic from WAN, you probably want to drop (why give yourself away).

check the excellent ipf howto for details.

http://www.obfuscation.org/ipf/ipf-howto.pdf
http://www.nwo.net/ipf/ipf-howto.html (html format of the pdf)

Cheers,
Beto


More information about the freebsd-questions mailing list