[CVALE] pppd routes
Patrick Bennett
stnick at bennettbungalow.com
Sat Aug 4 02:45:29 PDT 2007
anyone know how to elegantly deal with the following situation?
the goal is to have a modem/dial-in linux pppd server so that a user who
dials into it will have their entire lan connected to the entire lan of
the dial-in server. there will be multiple users dialing in and their
local subnets will be different, but known ahead of time. also, the
dial in server will have a default route to the internet that must be
respected.
the place i'm caught is in how to elegantly set up the
(non-default/static) routes between the two lans, esp. on the modem
server's side. i've been able to accomplish this in a sort of hacked up
way by using a putty definition that the user clicks on that asks for
the root password and sets a route (i can trust the guinea pig user with
the root password, but don't want to give it to everybody if i can avoid
it... and yes, i could keep the hack and use sudo, but i'd rather
eliminate the hack).
does anyone have a suggestion on how to make the route setup happen
automagically so that each user gets the route to their lan set properly?
-patrick
More information about the cvale
mailing list