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

Re: Vpn seems to be connected but not being used



On 15 Apr 2010, Anthony Campbell wrote:
> Starting a new thread: I seem to have got connected to a vpn server
> after reading the Debian Howto but I don't know what to do next. Here is
> the output of ifconfig -a, which seems to show that ppp0 is running. But
> I'm not connecting via it.
> 
> 
[snip] 

Well, after 3 days' work I finally got it running. I'll write it all up
in detail on my website but the essential steps were as follows.

1. delete the default gateway (ip route del default).
2. make a new gateway (route add default gw <server ip>

Quite simple, but there were some traps.

a. the <server ip> I had to use was not the one given to me for Windows
and the Mac, but rather the one that shows up with "ip route show" i.e.
the one that is next to dev ppp0.

b. the browser (firefox) needs to be running before doing the above,
otherwise it doesn't find anything.

c. to start the connection to the server, "pon <tunnel name> must be
done as root even if you are in the dip group.

I'm sure lots of other people would have had no difficulty with this,
but I thought it was worth reporting it for the benefit of anyone who
knows as little about route stuff as I do.

Anthony


-- 
Anthony Campbell - ac@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell


Reply to: