On Sat, 2002-08-31 at 12:58, Knut Ove Hauge wrote: > How do I open port 139 and 137 for samba in an iptables firewall? > Regards > Knut
iptables -A INPUT -m state --state NEW -p udp --dport 137 -j ACCEPT If you want to limit it to a specific ethernet card, then add -i for your specific adapter like: iptables -A INPUT -m state --state NEW -i eth0 -p udp --dport 137 -j ACCEPT Then do the same for port 139. Linus -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list