Netfilter problem with higher SAMBA UDP ports
Maciej Soltysiak
solt@dns.toxicfilms.tv
Tue, 26 Mar 2002 12:22:00 +0100 (CET)
> > 2 iptables -A INPUT -p tcp --dport 137:139 -m state --state NEW -j
> > ACCEPT
> > 3 iptables -A INPUT -p udp --dport 137:139 -m state --state NEW -j
> > ACCEPT
SMB uses UDP on ports 137,138, and TCP on port 139.
I solved my SMB problems using tcpdump
like:
tcpdump -i eth1 host q.w.e.r and \(port 137 or port 138 or port 139\)
and looked what happens when host q.w.e.r tries to access a resource via
eth1.
Maciej Soltysiak