On Sat, 2002-05-25 at 13:13, Ryan P.J. wrote:
> I don't want dial on demand. I want to configure my
> server to only connect to the internet when a user
> performs some simple task (like "telnet x.x.x.x:x").
are the clinets windows or linux? if they are linux then:
ssh -l root <ip of masq box> /sbin/ifup ppp0
or
ssh -l root <ip of masq box> wvdial
the user will be asked for the root password and then it will dial.
I think that there is a way to make it remember passwords
checkout man ssh
The masq box need to be running a ssh server and have
the dial-up connection set up as ppp0 or with wvdial
you could put the above lines in a script and then use a launcher from
gnome or kde.
also setting up the dial-up connection to auto disconnect would
be useful
g'luck
--
Mark Finlay
"sisob's linux eXPerience"
http://sisob.dyndns.org
Registered Linux User: #243436
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!