Re: Samba What a struggle

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

 



Am Mi, den 03.03.2004 schrieb Andrew Robinson um 20:51:

> # Samba access
> -A RH-Firewall-1-INPUT -m udp -p udp --dport 137:138 -j ACCEPT
> -A RH-Firewall-1-INPUT -m udp -p udp --sport 137:138 -j ACCEPT
> -A RH-Firewall-1-INPUT -m tcp -p tcp --dport 139 -j ACCEPT
> -A RH-Firewall-1-INPUT -m tcp -p tcp --dport 445 -j ACCEPT
> -A RH-Firewall-1-INPUT -m udp -p udp --dport 445 -j ACCEPT
> -A RH-Firewall-1-INPUT -m tcp -p tcp --dport 1512 -j ACCEPT
> -A RH-Firewall-1-INPUT -m udp -p udp --dport 1512 -j ACCEPT
> 
> I don't think all of these iptables entries are required to get Samba to 
> work. However, this works for me.

.oO Be aware what you open up this way! You are at high risk to open
your samba filesharing to the whole internet. Be sure you only open
those ports on your local net and not on outbound devices.

> Hope this helps.

But it was a good hint to check that no firewalling blocks the samba
ports.

> Andrew Robinson

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 21:25:09 up 12 days, 22:58, load average: 0.88, 0.59, 0.44 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux