aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Connect zum Server funktioniert nicht  (Read 3248 times)

Tomiro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Connect zum Server funktioniert nicht
« on: October 14, 2004, 10:30:18 PM »

Hallo!

Ich bin heute vom eMule (Windows) auf aMule (Linux/SuSE9.0) umgestiegen.
Wenn ich die Firewall (iptables) ausschalte, kann ich connecten. Ist sie aktiviert, funktioniert es nicht (gleiches natürlich auch, wenn er automatisch trennt und versucht sich wiederzuverbinden).
Per "netstat -lntup" hab ich mir angeschaut, welche Ports genutzt werden und habe diese entsprechend für aMule geöffnet. Jedoch scheint dies nicht auszureichen.
Benutzt der aMule einen besonderen Port zum connecten zum Server bzw. habt ihr sonst irgendwelche Tips?

Vielen Dank für eure Hilfe!
Logged

Tomiro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
RE: Connect zum Server funktioniert nicht
« Reply #1 on: October 15, 2004, 06:03:03 PM »

Ähm, ist die Frage so ungewöhnlich, dass mir niemand helfen kann oder will niemand antworten?   ?(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Connect zum Server funktioniert nicht
« Reply #2 on: October 15, 2004, 06:19:47 PM »

hey

es scheint aber so wie du es beschrieben hast ein iptabels problem zu sein...
da du dich ja verbinden kannst wenn du iptables aushast...
welche ports hast du freigeschaltet und vor allem wie??

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Tomiro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Connect zum Server funktioniert nicht
« Reply #3 on: October 15, 2004, 06:33:03 PM »

Dies sind die IPTABLES-Anweisungen für den aMule: (Konfiguration bei Connection: TCP 8115, UDP 4672)

/usr/sbin/iptables -A INPUT  -p TCP -i ppp0 --dport 8115 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
/usr/sbin/iptables -A OUTPUT -p TCP -o ppp0 --dport 8115 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
/usr/sbin/iptables -A INPUT  -p TCP -i ppp0 --dport 4712 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
/usr/sbin/iptables -A OUTPUT -p TCP -o ppp0 --dport 4712 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

/usr/sbin/iptables -A INPUT  -p UDP -i ppp0 --dport 4672 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
/usr/sbin/iptables -A OUTPUT -p UDP -o ppp0 --dport 4672 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

#/usr/sbin/iptables -A INPUT  -p UDP -i ppp0 --dport 4662 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
#/usr/sbin/iptables -A OUTPUT -p UDP -o ppp0 --dport 4662 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
/usr/sbin/iptables -A INPUT  -p UDP -i ppp0 --dport 8118 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
/usr/sbin/iptables -A OUTPUT -p UDP -o ppp0 --dport 8118 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT


Hoffe dies hilft weiter... (die UDP 4662 ist auskommentiert, da ich getestet hab, ob der Standardport offen sein muss; muss er jedoch nicht, da es nichts geändert hat)
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Connect zum Server funktioniert nicht
« Reply #4 on: October 15, 2004, 06:38:42 PM »

mal das forum durchsuchen nach iptables bzw suse-firewall .. und so nebenbei.. wozu ne firewall?

Tomiro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Connect zum Server funktioniert nicht
« Reply #5 on: October 15, 2004, 06:58:28 PM »

Quote
Originally posted by deltaHF
mal das forum durchsuchen nach iptables bzw suse-firewall .. und so nebenbei.. wozu ne firewall?

 mh, hier im forum nach suse firewall suchen oder die ausmachen .. und vielleicht besser iptables nehmen

Ist dies so die Allgemeine Empfehlung?  ;)

Ich bin der Meinung, dass es ohne ordentliche Firewall nicht geht (Angriffe, Spoofing, Würmer etc.). Somit ist Firewall 'ne Pflicht! (zumindest für mich)
Leider ergab die Suche mit iptables und suse-firewall nicht wirklich was.

Dennoch danke für die Antwort!
« Last Edit: October 15, 2004, 07:02:19 PM by Tomiro »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Connect zum Server funktioniert nicht
« Reply #6 on: October 15, 2004, 07:03:42 PM »

als pflicht sehe ich die tel. rechnung zu bezahlen, mehr aber auch nicht ;)

gruss

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Connect zum Server funktioniert nicht
« Reply #7 on: October 15, 2004, 09:26:23 PM »

Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Tomiro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Connect zum Server funktioniert nicht
« Reply #8 on: October 16, 2004, 11:13:01 AM »

Danke, habe ich mir schon angeschaut, aber auch dies hat nix genützt!  :(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Connect zum Server funktioniert nicht
« Reply #9 on: October 16, 2004, 11:56:41 AM »

hmm njaa irgentwo is ein fehler in deinem script...
vielleicht mal im irc channel von #linux oder so nachfragen....oder auf der netfilter homepage da hats bestimmt auch einige beispiele...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

DraculTepes

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Re: Connect zum Server funktioniert nicht
« Reply #10 on: October 16, 2004, 04:20:26 PM »

Also ich benutze Suse 9.1 und die Suse Firewall.

Die Ip Tables habe ich ganz in ruhe gelassen und nur in der FW die ports weitergeleitet und es geht.

Ich hab einfach in der suse Firewall unter /etc/sysconfig/SuSEfirewall2 folgendes eingetragen.

FW_DEV_EXT="dsl0" (externe schnittstelle die ans internet eth wird ignoriert)

FW_DEV_INT="eth-id-00:50:fc:6c:9a:6c" ( die netzwerkkarte ins netzwerk)



FW_SERVICES_EXT_TCP="3000:4000 4661 4662 4711 4712 http https imap imaps pop3 pop3s rsync smtp ssh telnet"


FW_SERVICES_EXT_UDP="4665 4672"

Und es geht.
Dann müsste es eigentlich auch gehen.
Logged