Configuring firewall to allow Samba to work

Posted on Updated on


This is a note for all those people out there who had to turn off their firewalls (iptables) to get Samba to work.

  • Applications – System Setting – Security Level
  • Input your root password, than go to “firewall options” tab
  • Choose “enable firewall”
  • Click the check box for your network adapter (usually “eth0”).
  • Click on the checkboxes for any services you want to allow (I allow WWW, FTP, SSH, DHCP, and Telnet).
  • In the “Other ports” edit box, enter :

    137:udp,137:tcp,138:udp,138:tcp,139:udp,139:tcp

  • Save the configuration.
  • Restart Firewall
  • [root@invaleed ~]# /etc/init.d/iptables restart
    Flushing firewall rules: [ OK ]
    Setting chains to policy ACCEPT: filter [ OK ]
    Unloading iptables modules: [ OK ]
    Applying iptables firewall rules: [ OK ]

Congratulations:)

One thought on “Configuring firewall to allow Samba to work

    imam said:
    November 5, 2008 at 10:16 am

    makasih Om… apik juga

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s