RE: how to configure iptables for samba

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

 



> -----Original Message-----
> From: redhat-list-admin@xxxxxxxxxx
> [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of linux
> Sent: Wednesday, December 31, 2003 9:09 AM
> To: redhat-list@xxxxxxxxxx
> Subject: Re: how to configure iptables for samba
> 
> 
> > What protocol(s)/port(s) does winpopup use?
> >
> 
> Thanks for the reply
> But, that is what i am looking for.
> i thought it uses tcp and udp on port139. But even opening 
> them totally
> unrestricted did not help
> 

It's been some time since I setup iptables to allow for samba
connections, but I remember something about having to allow
connections from hosts where the source port is 137:139.

Something like:
iptables -I INPUT -p tcp -m tcp --sport 137:139 -j ACCEPT
iptables -I INPUT -p udp -m udp --sport 137:139 -j ACCEPT

The "-I" should cause the rules to be followed prior to any
reject rules.

-- 
S C Rigler
RHCE #803003335409754


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux