Configuring firewall to allow Samba to work

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 :


  • 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 ]


The following two tabs change content below.
Unix/Linux enthusiasts, good working experience with SAN, NAS, Linux, Solaris, AIX, VMWare & Graphic Design. Certified for Solaris Admin, EMC & HDS Storage.

One thought on “Configuring firewall to allow Samba to work

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.