Discussion:
[pptp-devel] How to establish a PPTP VPN connection over pppoe?
houmie
2013-03-17 17:05:56 UTC
Permalink
Hi everyone,

I came across the excellent documentation here
http://pptpclient.sourceforge.net/howto-debian.phtml
and followed all the steps. However, while the DSL connection works the
packages are not gong over the tunnel. What am I missing please?

*sudo vim /etc/ppp/options.pptp*

lock
noauth
refuse-pap
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
require-mppe-128

*sudo vim /etc/ppp/chap-secrets*

#First line is the username and password of normal pppoe DSL connection
"123456789" * "1111"
#Second line is the username and password of my VPN server
vpn_username PPTP vpn_password *


*sudo vim /etc/ppp/peers/tunnel*

pty "pptp vpn_domain.com --nolaunchpppd"
name vpn_username
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam tunnel


*sudo pon dsl-provider updetach && sudo pon tunnel*

Plugin rp-pppoe.so loaded.
PPP session is 50301
Connected to 00:03:e4:5b:78:1a via interface eth0
Using interface ppp0
Connect: ppp0 <--> eth0
PAP authentication succeeded
peer from calling number 00:03:E4:5B:78:1A authorized
local IP address 81.32.211.11
remote IP address 81.32.210.1
primary DNS address 81.32.214.5
secondary DNS address 81.32.214.194

Everything seems fine, however I am not over the VPN yet.

Many Thanks,
Houman
James Cameron
2013-03-17 19:51:35 UTC
Permalink
Perhaps you are conflating the establishment of a tunnel with the
routing of packets. These are two separate technical tasks, but most
people see them as one. We wouldn't want to set policy on what you
can use your tunnel for. There is a separate page on
http://pptpclient.sourceforge.net/ for the routing task. The routing
task is the same for any set of network interfaces on Linux. But this
documentation is out of date, because the two tasks have since been
automated. Nowadays most users use Network Manager and the PPTP
plugin to it.
--
James Cameron
http://quozl.linux.org.au/
houmie
2013-03-17 20:10:47 UTC
Permalink
Thanks James for your response.

I am using Linux Mint 14. When I open the network manager:



I can add a new DSL connection however, its greyed out. I cant do
anything. Would you be able to guide me please?



Many Thanks,
Houman
Post by James Cameron
Perhaps you are conflating the establishment of a tunnel with the
routing of packets. These are two separate technical tasks, but most
people see them as one. We wouldn't want to set policy on what you
can use your tunnel for. There is a separate page on
http://pptpclient.sourceforge.net/ for the routing task. The routing
task is the same for any set of network interfaces on Linux. But this
documentation is out of date, because the two tasks have since been
automated. Nowadays most users use Network Manager and the PPTP
plugin to it.
James Cameron
2013-03-18 03:50:50 UTC
Permalink
I've not used Linux Mint 14, so I can't advise from experience.

But I suggest you make sure that the network-manager-pptp and
network-manager-pptp-gnome packages are both installed, and then go
and ask the Linux Mint community.
Post by houmie
Thanks James for your response.
I can add a new DSL connection however, its greyed out. I cant do
anything. Would you be able to guide me please?
Many Thanks,
Houman
Post by James Cameron
Perhaps you are conflating the establishment of a tunnel with the
routing of packets. These are two separate technical tasks, but most
people see them as one. We wouldn't want to set policy on what you
can use your tunnel for. There is a separate page on
http://pptpclient.sourceforge.net/ for the routing task. The routing
task is the same for any set of network interfaces on Linux. But this
documentation is out of date, because the two tasks have since been
automated. Nowadays most users use Network Manager and the PPTP
plugin to it.
--
James Cameron
http://quozl.linux.org.au/
Loading...