Samba users and firewalls

Note to self: Next time you configure Samba:

  1. Use smbpasswd -a <username> to add a user to the samba password file
  2. These will allow samba to pass through the firewall:
    -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 137:139 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 137:139 -j ACCEPT

Comments have been closed