[plug] cannot see smaba shares with firewall enabled.

Jon Miller jlmiller at mmtnetworks.com.au
Mon Mar 27 21:46:26 WST 2006


I would like to know if there is a rule that can be created in iptables that would allow a samba server shares to be seen on the internal LAN.  The interface is on eth0 the ip address of eth0 is 192.168.0.1.  It seems that when I applied a firewall I have blocked smb from showing up.  Now the users cannot see any shares via Network Neighborhood on both W2KP and WXP workstations.I can map a drive via Start->Run->\\192.168.0.1\sharename.
This is on a Debian 3.1 server.
Just taking a crack at it would this be correct?
iptables -A FORWARD -p tcp -i eth0 --sport 137:139 -j ACCEPT; accepts inside (eth0) connection to samba
iptables -A FORWARD -p udp -i eth0 --sport 137:139 -j ACCEPT
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TEXT.htm
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20060327/c7439e9c/attachment.ksh>


More information about the plug mailing list