Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dial on demand / router
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
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Sat Sep 28, 2002 3:33 pm    Post subject: dial on demand / router Reply with quote

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
View user's profile Send private message
de4d
Apprentice
Apprentice


Joined: 12 Sep 2002
Posts: 181
Location: fr. i. br. (ger)

PostPosted: Sat Sep 28, 2002 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
KiLLaCaT
Guru
Guru


Joined: 24 Jul 2002
Posts: 306
Location: Linz, Austria

PostPosted: Sat Sep 28, 2002 8:02 pm    Post subject: Reply with quote

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
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