[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SOLVEDHow do I open port 139 and 137 for samba in an iptables firewall



Thanks Linus.
It works.


 --- "C. Linus Hicks" <lhicks nc rr com> 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:redhat-list-request redhat com?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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]