Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba und IPTABLES
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
EXS
Tux's lil' helper
Tux's lil' helper


Joined: 08 Mar 2003
Posts: 106

PostPosted: Fri Jun 06, 2003 7:11 pm    Post subject: Samba und IPTABLES Reply with quote

Moin,

hab da schon lange ein kleines Problem mit der Firewall und Samba.

Mein Hauptrechner läuft natürlich mit Gentoo, mein Laptop läuft mit WinXP Pro.

Ich hab folgende Einstellungen vorgenommen die allerdings nicht funktionieren:
Code:

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i eth1 -s 192.168.0.0/24 -p tcp -m state --state NEW --dport 137:139 -j ACCEPT
iptables -A INPUT -i eth1 -s 192.168.0.0/24 -p udp -m state --state NEW --dport 137:139 -j ACCEPT
iptables -A OUTPUT -o eth1 -d 192.168.0.0/24 -p tcp -m state --state NEW --dport 137:139 -j ACCEPT
iptables -A OUTPUT -o eth1 -d 192.168.0.0/24 -p udp -m state --state NEW --dport 137:139 -j ACCEPT


Weiss jemand was damit nicht stimmt?

Das ganze sollte eigentlich Samba nur intern erlauben, leider finden sich die Rechner damit nicht.

danke für antworten im Vorraus
Back to top
View user's profile Send private message
MasterOfMagic
l33t
l33t


Joined: 20 Aug 2002
Posts: 677
Location: Vienna, Austria

PostPosted: Fri Jun 06, 2003 7:39 pm    Post subject: Reply with quote

hm na da könntest dahinter noch ein drop any machen und das loggen. sowohl für input als auch für output table. dann dürftest du wohl sehen was noch so fehlt.

mfg
masterofmagic
_________________
Gentoo 1.4
Kernel 2.4.24
KDE 3.1.5
Back to top
View user's profile Send private message
el*Loco
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2003
Posts: 91
Location: Cologne, Germany

PostPosted: Fri Jun 06, 2003 8:20 pm    Post subject: Reply with quote

Schau dir mal http://www.shorewall.net/samba.htm an, da sind die Ports erklärt (zwar in shorewall syntax, aber das sollte einfach zu erkennen sein).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum