LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-30-2010, 01:50 PM   #1
Radiofisik
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
PPTP problem


There is a VPN server with following parameters
ip address of eth0 192.168.18.141
VPN local address 192.168.18.141 (same as eth0's) <- cause of problem here
VPN remote address 10.10.1.1-254

There is a VPN client which is based on Red Hat (kernel 2.4.20-46.9) with pptp-linux-1.1.0-3mdk.i586.rpm installed. It allows me to connect the VPN server but ping VPN server fails.
If I change VPN server's local address to another subnet (I can only do it with my server on test purpose) everything works fine. If I use another Linux distro with a new kernel everything is working fine too.

It seems to me that problem is with routing when the pptp client connects the server it gets a route which says that the network 192.168.18.141 is available via ppp interface and the pptp client sends packets to itself by using the route.

Have you any idea how to get it working without reconfiguring the server?
 
Old 12-01-2010, 10:38 AM   #2
Radiofisik
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I found the solution
route add -net 192.168.18.124 netmask 255.255.255.255 gw 192.168.18.124 dev eth0
 
Old 12-08-2010, 02:28 PM   #3
ph.sebu
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Here is another solution http://techtalk.pipitlabs.com/config...s-pptp-gateway
 
  


Reply


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
Linux PPTP client fails to connect to Microsoft ISA PPTP server dCriminal Linux - Networking 1 10-27-2009 01:33 PM
PPTP server sending the weird PPTP header data in 'Out-going-call-reply' varlu Linux - Networking 0 10-14-2009 07:53 AM
PPTP/PPP Can't get further than pptp server fishy Linux - Networking 2 07-02-2007 12:20 PM
VPN pptp problem nostromo Linux - Networking 0 05-21-2007 09:36 AM
PPTP Problem icotro Linux - Networking 0 03-13-2006 09:32 AM


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

Main Menu
Advertisement
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