Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Port Forwarding per 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
denic
Apprentice
Apprentice


Joined: 04 Aug 2002
Posts: 168

PostPosted: Sun Feb 16, 2003 6:58 pm    Post subject: Port Forwarding per IPTables Reply with quote

Hi,

damit alle Rechner im Lan durch das Web surfen können, stellt
ein Gentoo Linux Router den Internet Zugang per DSL bereit.

Für das Web funktioniert das auch einwandfrei.
Möchte allerdings im Lan ein FTP Server aufsetzen.
Ebenso soll eMule funktionieren.


Benötige dazu ein Port Forwarding auf dem Gentoo Server.
Der eben dadurch die Ports ins LAN weiterleitet.

Wie gehe ich dazu mit iptables vor.
Back to top
View user's profile Send private message
denic
Apprentice
Apprentice


Joined: 04 Aug 2002
Posts: 168

PostPosted: Sun Feb 16, 2003 7:02 pm    Post subject: Reply with quote

Reicht dazu ein simples :
$IPTABLES -t nat -A PREROUTING -i $EXT -p tcp --dport 4662 -j DNAT --to-destination 192.168.0.80:4662

???
Back to top
View user's profile Send private message
denic
Apprentice
Apprentice


Joined: 04 Aug 2002
Posts: 168

PostPosted: Sun Feb 16, 2003 7:13 pm    Post subject: Reply with quote

War ein wenig voreilig.
Habe mein Problem damit beseitigt.
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