View previous topic :: View next topic |
Author |
Message |
Qubax Guru
Joined: 19 Jul 2002 Posts: 451 Location: Tirol, Austria
|
Posted: Sat Sep 28, 2002 3:33 pm Post subject: dial on demand / router |
|
|
ok, ich hab im meinem ppp script drin das er auf anfrage hinauswählen soll (demand), was er auch tut und super funktioniert.
zusätzlich hab ich ein kleines router script, damit dann andere im netzwerk über meine verbindung ins internet können, was auch super funktioníert, wenn die verbindung steht.
problem: demand funktioniert nur wenn ich (localhost) versuche hinauszukommen, wenn jedoch einer aus dem netzwerk ins internet will (und noch keine verbindung besteht), wählt er nicht den provider an.
für das routen verwende ich :
Code: | iptables -t nat -A POSTROUTING -j MASQUERADE -o ppp0 | (bin gerade nicht an der maschine, also nicht ganz sicher)
hab ich irgendwas vergessen?
die im netzwerk verwenden m$, verwenden also meine ip als gw. |
|
Back to top |
|
|
de4d Apprentice
Joined: 12 Sep 2002 Posts: 181 Location: fr. i. br. (ger)
|
Posted: Sat Sep 28, 2002 6:20 pm Post subject: |
|
|
normalerweise heisst 'on demand' dass das ppp device sich dann einwaehlt wenn das dummy device ein packet abkriegt.
vielleicht musst du eine route eintragen die von den clients die packets an das dummy device weitergibt, und diese bei ppp/ip-up durch die NAT rule ersetzen...
kenn leider deine cfg nich und hab von demand kein plan (da steht bei mir persist...) aber vielleicht bringt dir das ja irgendwas. _________________ void main(){fork();main();} |
|
Back to top |
|
|
KiLLaCaT Guru
Joined: 24 Jul 2002 Posts: 306 Location: Linz, Austria
|
Posted: Sat Sep 28, 2002 8:02 pm Post subject: |
|
|
du koenntest ja ein script erstellen, dass eine verbindung herstellt, und dieses script, dann von den winXP PCs ueber telent starten.
ist zwar umstaendlich, aber ich kenne sonst keine moeglichkeit.
MfG
jax |
|
Back to top |
|
|
|
|
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
|
|