LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-22-2012, 03:41 AM   #1
piquezino
LQ Newbie
 
Registered: Aug 2012
Location: Troyes, France
Distribution: Ubuntu
Posts: 15

Rep: Reputation: Disabled
Firefox and chromium can't browse the web on a L2TP vpn connection


Hello everybody !

I'm registered to this forum for explain my problem with the L2TP protocol.

I use Ubuntu 11.10 and I have Internet by a WiFi Hotspot. But a lot of ports are blocked. (FTP, SIP and other...). Therefore, I need to bypass the firewall of the hotspot. I'm suscribed to hidemynet, and I started to configure the VPN. I downloaded l2tp-ipsec-vpn available on launchpad (I need this software for establish the L2TP/IPSec VPN connection). I entered the connect informations of the ISP, it's good, i'm connected ! I ping google.com (Today, 50% of the pings are lost), I have a access to Skype and apt. but when I launch Firefox, the status of the connection is "Waiting for google.com", such as geektionnerd.net, siteduzero.com execpt perdu.com and monip.org .

How is this done ?

Thanks for your help and your replies.

Cordially,
Alexandre

Last edited by piquezino; 08-23-2012 at 01:17 PM.
 
Old 08-22-2012, 09:49 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
you have too high rate of packets loosing; I've just opened geektionnerd.net that you mentioned and 46 DNS requests were initiated
 
Old 08-23-2012, 04:47 AM   #3
piquezino
LQ Newbie
 
Registered: Aug 2012
Location: Troyes, France
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks to your answer !

Do you have a solution for my problem ?

What I can do to fix it ?

EDIT :
My ping statistics for today :

Code:
--- google.com ping statistics ---
30 packets transmitted, 30 received, 0% packet loss, time 29039ms
rtt min/avg/max/mdev = 59.939/63.262/73.518/3.132 ms

Last edited by piquezino; 08-23-2012 at 05:21 AM. Reason: Adding ping statistics
 
Old 08-23-2012, 09:41 AM   #4
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
If you are able to ping but your browser queries seem to hang, it is possible that you have an incorrect MTU size. Try lowering it on your vpn device (replace tun0 with the actual id of your device):
Code:
# ifconfig tun0 mtu 1000
 
Old 08-23-2012, 11:08 AM   #5
piquezino
LQ Newbie
 
Registered: Aug 2012
Location: Troyes, France
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: Disabled
That's work fine ! Thanks you very much !

But, how to apply the MTU automatically ? I use PPPd
 
Old 08-23-2012, 11:54 AM   #6
piquezino
LQ Newbie
 
Registered: Aug 2012
Location: Troyes, France
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: Disabled
It's good i apply the mtu when i launch the VPN connection. But my computer is a router. Behind this computer I have 2 Windows computer. I had connect this computers on the ethernet card eth1. I launch firefox, but i have the same problem. I need to apply the MTU on the router (Linux computer) or the Windows computers ?

EDIT : solved ! The MTU must to be set on the windows pc

Last edited by piquezino; 08-23-2012 at 01:31 PM.
 
  


Reply

Tags
browse, browsers, ipsec, l2tp, vpn


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
VPN Connection - Not able to browse other sites when connecting to VPN arindom Linux - Networking 25 07-02-2012 02:43 PM
Cannot Browse (Firefox) through SSH (Proxy) Connection coffeekid Linux - General 0 10-21-2008 10:54 AM
I Can't use Linux Firefox or Opera to browse the web-sites I need to, under SUSE 10.0 DeekBeek Linux - Software 9 06-20-2006 05:12 PM
Connecting to server to browse the web and VPN depam Linux - Software 3 03-29-2006 07:35 AM
How do I browse files on a VPN connection? joekm Linux - Networking 1 11-28-2005 04:38 PM


All times are GMT -5. The time now is 04:44 PM.

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