MoldyDo <(E-Mail Removed)> wrote:
> I was wondering if anyone had any ideas how on a linux box running pppd
> how I could create a static route based on the CHAP authentication
> username that gets passed to the ppp daemon during connection. I can
> bring up a blanket static route from the /etc/ppp/ip-up script, but that
> runs for everyone and only needs to run for the on ppp/wan/vpn connection
> which uses a unique username.
If it's possible to do so (there's not enough information for me to
know), you could assign a unique IP address for each such username in
/etc/ppp/chap-secrets, and configure ip-up and ip-down to add/remove
routing based on the addresses.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/
/* Emacs vs vi:
Sort of like a Swiss Army knife versus a rapier. */