Thanks Linus.
It works.

 --- "C. Linus Hicks" <[EMAIL PROTECTED]> skrev: > 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

=====
Investigating the Norwegain 4.th Secret Service
The multiheaded beast.
http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm

______________________________________________________
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to