LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-21-2011, 05:28 PM   #1
tghasemi
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
No Internet traffic through the PPTP VPN connection


I went through this guide and did everything step by step. everything works fine, clients can connect to the vpn server with no problems and they can ping local machines! but no internet access through the vpn connection unless i uncheck the default gateway option on my client machine which is not what i want. I want my clients to get my server’s ip address. my server is behind a router (router’s ip : 192.168.0.1 | server’s local ip: 192.168.0.100) so i used localip 192.168.0.100 & remoteip 192.168.0.234-238 in pptpd.conf. it think there is something wrong with routing or firewall rules, because it seems that the DNS resolution works .. when i try to browse a website my browser says “Waiting for xxxxx.com…” and it stays on that stage forever ! the funny part is that google.com works fine (don’t know how). does anybody has any idea about the issue ?
p.s :
* I have already opened the port in on my router. I even tried it locally to make sure that the router is not the problem here.
* already added ms-dns 208.67.222.222 / ms-dns 208.67.220.220 to pptpd-options. (found another guide that suggested to do this, before adding these two lines even dns resolution was not working.)

Last edited by tghasemi; 02-21-2011 at 05:44 PM.
 
Old 02-23-2011, 12:08 AM   #2
tghasemi
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
added the following line into etc/ppp/ip-up

/sbin/ifconfig $1 mtu 1400

and that fixed the issue
 
Old 05-21-2012, 10:40 AM   #3
narcberry
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
This fixed it for me as well.

In addition to google.com mysteriously working while the rest of the internet was unavailable, using telnet to make an HTTP 1.0 request works fine as well. yahoo.com would be stuck in the browser waiting for a response, but telnet would get the entire front page contents. A subsequent request to yahoo.com using the browser would retrieve partial content. Huh?

DNS worked fine.
TCP connectivity appeared fine.

Thank you, thank you, thank you.
 
  


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
which ports to open for pptp VPN connection dsh Linux - Security 1 07-11-2007 02:34 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 Connection GroverB Linux - Networking 1 10-29-2005 03:13 PM
problem of PPTP VPN connection. kocu Linux - Networking 9 09-24-2005 02:08 PM
PPTP VPN remote connection from home powah Linux - Networking 0 05-02-2005 09:10 PM


All times are GMT -5. The time now is 11:27 AM.

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