RE: how to configure iptables for samba

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2003-12-31 at 10:16, Rigler, Steve wrote:

> Something like:
> iptables -I INPUT -p tcp -m tcp --sport 137:139 -j ACCEPT
> iptables -I INPUT -p udp -m udp --sport 137:139 -j ACCEPT

Actually, you only need 137:138 udp and 139 tcp for normal SMB usage. 
And Sean is absolutely correct, your ruleset should match destination
port, not source port.  It's not *anything like* what you posted.  ;-)

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux