LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   problem in pptp vpn and PPPoE over dial up (http://www.linuxquestions.org/questions/linux-networking-3/problem-in-pptp-vpn-and-pppoe-over-dial-up-870071/)

pendrive 03-21-2011 04:25 PM

problem in pptp vpn and PPPoE over dial up
 
I have an internet connection with dial up created with pppconfig that I use
Code:

#pon connection_name
to connect to internet in my ubuntu 10.10 platform and it creates me a connection over ppp0.
I want to use a PPTP vpn, so I used this command

Code:

#pppd pty "pptp pptp_server_ip --nolaunchpppd --debug" require-mschap-v2 refuse-eap user myusername password mypass noauth persist nodetach debug
it creates me a pptp connection over ppp1. that's why my dialup connection is over ppp0 and vpn connection is over ppp1 I cant't use my vpn connection.
for instance if I run tracepath command, it never gets ppp1 ip adress
Please help me to solve this
regards

pendrive 03-21-2011 05:35 PM

But when check my routing table contents before establishing the vpn connection with

Code:

#netstat -rn
command,
it gives me

Code:

Destination    Gateway        Genmask        Flags  MSS Window  irtt Iface
80.191.211.130  0.0.0.0        255.255.255.255 UH        0 0          0 ppp0
0.0.0.0        0.0.0.0        0.0.0.0        U        0 0          0 ppp0

and when I check it after establishing the vpn :
Code:

Destination    Gateway        Genmask        Flags  MSS Window  irtt Iface
my_vpn_ip      0.0.0.0        255.255.255.255 UH        0 0          0 ppp0
80.191.211.130  0.0.0.0        255.255.255.255 UH        0 0          0 ppp0
192.168.10.1    0.0.0.0        255.255.255.255 UH        0 0          0 ppp1
0.0.0.0        0.0.0.0        0.0.0.0        U        0 0          0 ppp0

that my_vpn_ip is the vpn server ip, with this informations it seems it must be work properly, but it don't :confused:

pendrive 03-21-2011 06:06 PM

ok I do it myself :) tnx myself!


All times are GMT -5. The time now is 08:52 AM.