Re: [Samba] Configuring firewall to allow Samba to work

2003-03-13 Thread Kurt Weiss
here's a mail, which was posted in this list...



 all exact ports arel listed in /etc/services.

 the ports u need where postet a view days ago in this list.
 please somebody correct, if i'm wrong:

 netbios-ns  137/tcp# NETBIOS Name Service
 netbios-ns  137/udp# NETBIOS Name Service
 netbios-dgm 138/tcp# NETBIOS Datagram Service
 netbios-dgm 138/udp# NETBIOS Datagram Service
 netbios-ssn 139/tcp# NETBIOS Session Service
 netbios-ssn 139/udp# NETBIOS Session Service
 and,if u need:
 swat   901/tcp # XXX Samba Web Adminisration
And with Win2K you may need port 445/tcp also.

- John T.





--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Configuring firewall to allow Samba to work

2003-03-12 Thread Nobody
Dear Folks,

This is a note for all those people out there who had to turn off their 
firewalls (iptables) to get Samba to work.  First start the GUI 
interface to the firewall by typing

[somedir]# redhat-config-securitylevel

Click on Customize.

Click the check box for your network adapter (usually eth0).

Click on the checkboxes for any services you want to allow (I allow WWW, 
FTP, SSH, DHCP, and Telnet).

In the Other ports edit box, enter 
137:udp,137:tcp,138:udp,138:tcp,139:udp,139:tcp.  At a command prompt type

[somedir]# service iptables stop
Flushing all chains:   [  OK  ]
Removing user defined chains:  [  OK  ]
Resetting built-in chains to the default ACCEPT policy:[  OK  ]
[somedir]# service iptables start
Flushing all current rules and user defined chains:[  OK  ]
Clearing all current rules and user defined chains:[  OK  ]
Applying iptables firewall rules:  [  OK  ]
This should allow all the packets necessary for Samba.

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba