[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Special case of VPN : how can I do this ?



Dear Kevin or any linux users:

in my peer/dsl-provider
pty .......
it also have similar situation,
but I really did not know why my pppoe keep not work
that is in 2.4.20 kernel of 686 from unstable

if I swtch back to old kernel image for boot 2.218, then my internet through
pppoe work

I find the difference of lsmod
in 2.4.20 it have ppp_async, ppp_generic which 2.2.18 do not have
but 2.2.18 have ppp_deflate and bsd_comp, and ppp which 2.4.20 do not have

hope to your or any advancer's help

sincere Eric
----- Original Message -----
From: "Kevin Buhr" <buhr@telus.net>
To: "Lucas Nussbaum" <lucas@lucas-nussbaum.net>
Cc: <debian-user@lists.debian.org>
Sent: Friday, December 06, 2002 1:18 AM
Subject: Re: Special case of VPN : how can I do this ?


> Lucas Nussbaum <lucas@lucas-nussbaum.net> writes:
> >
> > I'd like to setup a VPN between my own computer and a computer in my
> > university, on which, of course, I don't have root access.
>
> You could look at the "slirp" package.  The "slirp" server runs with
> normal user privileges on the remote machine and mimics a PPP server
> for the benefit of a "pppd" daemon running on the local machine.
>
> The usual way of setting it up would be to give your "pppd" an
> appropriate "pty" configuration line to automagically SSH to the
> remote machine and launch "slirp" through the resulting connection.
> My guess for the right "pty" line is:
>
>         pty "ssh -t -e none remotehost slirp ppp"
>
> Because "slirp" only runs as a normal user process, there are limits
> to what it can do, of course, but for web browsing it will probably
> work quite nicely.
>
> Be careful of your routing, too.  Add an explicit route for the remote
> Solaris machine through your "real" network interface before changing
> your default route to the new tunnel interface (or letting PPP do it).
> Otherwise, the first packet you send will be tunnelled back through
> the tunnel in an infinite loop.  Oops.
>
> Googling for "ssh slirp tunnel" might help.
>
> --
> Kevin <buhr@telus.net>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



Reply to: