SuSE 8.0

Post Reply
Message
Author
joacimo
Posts: 27
Joined: 28. Apr 2002 10:23

SuSE 8.0

#1 Post by joacimo »

Hallo, alle zusammen,

zum Thema Router wurde mir hier schon gut weitergeholfen - die Verbindung der clients ins internet funktioniert einwandfrei.
Nur muss ich bei jedem Neustart folgende Befehle eingeben:

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptalbes -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

Gibt es nicht eine Möglichkeit, diese bei jedem Start automatisch zu laden?
Last edited by joacimo on 30. Apr 2002 13:13, edited 1 time in total.

moses

Re: SuSE 8.0

#2 Post by moses »

Trag diese befehle in /etc/ppp/ip-up und dann wird dass jedesmal aufgerufen bei Verbindungsaufbau. Vorher wäre aber nicht schlecht regeln zu flushen.

iptables -F

CU
moses

trinity
Posts: 821
Joined: 12. Oct 2001 10:04

Re: SuSE 8.0

#3 Post by trinity »

Zudem sollte man auch die nat-Tabelle Flushen:
iptables -F -t nat
"Korrekt, Freundlich, Kostenfrei", wähle genau zwei. (Lutz Donnerhacke in dcsf)

joacimo
Posts: 27
Joined: 28. Apr 2002 10:23

Re: SuSE 8.0

#4 Post by joacimo »

Heißt das, das ich "iptables -F -t nat" auch in /etc/ppp/ip-up eintragen muß?
Last edited by joacimo on 30. Apr 2002 19:40, edited 1 time in total.

Post Reply