Samba and Firewall

Shu Hung (Koala) koala at dg21.com
Mon Mar 7 04:52:22 UTC 2005


Hello
I've been working on a Samba machine for a while.
Recently, I tried to turn on its firewall.
But my configuration to iptables is flawed somehow -- it is half right 
and half wrong.

Here is what I've done:
 - I used system-config-securitylevel to config new ports to open
 - I've opened ports   139:tcp, 445:tcp, 137:udp, 138:udp
 - I restart the iptables to load up the configs.

Here is the consequence right now:
 - As I reboot my client PC, I cannot connect to samba shared folders -- 
unless I stop iptables first
 - After I've connected to Samba once, I can connect to Samba as many 
time as I want to -- even if I start iptables again.

I guest one more port or something is responsible for the first 
connection to the server.
Does anybody have any idea?

-- 
Technical Support, DigitalOne Limited
Tel: 8100-2616 / 2545-1383
Fax: 2815-0593



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 4/3/2005




More information about the fedora-list mailing list