LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Firefox and chromium can't browse the web on a L2TP vpn connection (https://www.linuxquestions.org/questions/linux-networking-3/firefox-and-chromium-cant-browse-the-web-on-a-l2tp-vpn-connection-4175423365/)

piquezino 08-22-2012 02:41 AM

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

Ygrex 08-22-2012 08:49 PM

you have too high rate of packets loosing; I've just opened geektionnerd.net that you mentioned and 46 DNS requests were initiated

piquezino 08-23-2012 03:47 AM

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


r0b0 08-23-2012 08:41 AM

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

piquezino 08-23-2012 10:08 AM

That's work fine ! Thanks you very much ! :)

But, how to apply the MTU automatically ? I use PPPd

piquezino 08-23-2012 10:54 AM

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


All times are GMT -5. The time now is 02:53 PM.