[Samba] re: ipchains question

Kaleb Pederson kibab at icehouse.net
Fri Jun 14 08:06:03 GMT 2002

Here is what I use (with iptables) for incoming requests.  This is what
I'm currently using and believe this is all that is required.

from my iptables_policy file (using the iptables-restore format): -A
samba -p tcp -m tcp --dport 139 -j ACCEPT -A samba -p tcp -m tcp --dport
443 -j ACCEPT // don't remember why 443/445 -A samba -p tcp -m tcp
--dport 445 -j ACCEPT // were necessary... -A samba -p tcp -m tcp
--dport 901 -j ACCEPT // swat -A samba -p udp -m udp --dport 137 -j
ACCEPT -A samba -p udp -m udp --dport 138 -j ACCEPT


More information about the samba mailing list