[Samba] samba and ipchains

Poorav Chaudhari pooravc at yahoo.com
Wed Dec 18 19:00:01 GMT 2002


I am having major set backs trying to access through my firewall (ipchains).
The default policy on my chains is set to deny and then i am giving the
following ipchains rule for samba. 

ipchains -A input -p tcp -s $Internal_subnet -d Internal_net 137:139 -j ACCEPT
ipchains -A input -p udp -s $Internal_subnet -d Internal_net 137:139 -j ACCEPT
ipchains -A output -p tcp -d $Internal_subnet -s Internal_net 137:139 -j ACCEPT
ipchains -A output -p udp -d $Internal_subnet -s Internal_net 137:139 -j ACCEPT

this does not work. 

BUT, If i change the policy to accept all, then the samba is accessible from my
win client machines. just to make sure that the ipchains was configured
properly i ran my ftp server from all 3 ports and tested the connection from a
client machine. i was able to connect to the ftp server. 

can someone please tell me what i am missing. 

Thankyou

=====
Poorav Chaudhari

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the samba mailing list