LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-21-2011, 04:25 PM   #1
pendrive
Member
 
Registered: Mar 2011
Posts: 51

Rep: Reputation: 2
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
 
Old 03-21-2011, 05:35 PM   #2
pendrive
Member
 
Registered: Mar 2011
Posts: 51

Original Poster
Rep: Reputation: 2
Unhappy

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
 
Old 03-21-2011, 06:06 PM   #3
pendrive
Member
 
Registered: Mar 2011
Posts: 51

Original Poster
Rep: Reputation: 2
ok I do it myself tnx myself!
 
  


Reply

Tags
ppp0, pppoe, pptp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
a pptp vpn problem lth0721 Linux - Networking 2 05-13-2009 11:01 PM
PPTP VPN connect automatically (auto dial home) exactiv Linux - Networking 1 11-26-2008 06:20 PM
LXer: Linux Configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server LXer Syndicated Linux News 0 06-13-2007 08:46 AM
VPN pptp problem nostromo Linux - Networking 0 05-21-2007 08:36 AM
PPTP VPN browse problem george100 Linux - Networking 0 08-05-2005 11:05 AM


All times are GMT -5. The time now is 07:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration