New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Some sites not loading properly using OpenVPN...
Some sites, like Kotaku and Lifehacker, don't load properly when using OpenVPN. They either keep loading or show up incomplete (no css, half of the page, no images).
I wonder what this could be causing, as it seems to be specific for those kind of blogs. All other sites load perfect.
Tips are appreciated! Thanks!
Comments
What about hotmail and microsoft.com, do these load?
Clear your DNS cache.
I had a similar issue, so I cleared the DNS cache whenever I connect and no issues.
The sites are most likely using a proxy checking script. I know that I can connect to WHT from my home network but if I VPN into my home network and then try to view WHT it always times out. Same with a few other sites.
@KuJoe I have no problem accessing WHT over openvpn
If some stupid network administrators are blocking icmp, this might be the reason. Path MTU discovery is broken and sites behind braindead firewalls appear broken.
MTU is usually the problem
Try something like 1400.
Francisco
I can access it from my BuyVM VPN and my SD VPN, just not my home VPN and when we were in GoRACK that VPN didn't work either.
@rds100 Microsoft and Hotmail load properly
@Daniel clearing my DNS cache sadly did not solve the problem
@KuJoe WHT loads properly too
@Francisco I tried changing the MTU in the server config and the client config, but it keeps saying MTU 1500. Where should one normally change the MTU size in?
BTW this is what I see:
http://i.imgur.com/haXXa.png
Thanks!
@Kujoe try if this helps:
To be executed on the VPN server.
you want to set tun-mtu
Francisco
@Francisco I've set 'tun-mtu 1400' in both the server.conf and client.conf, yet while connecting it says 'TAP-Win32 MTU=1500' in the OpenVPN GUI Log output....
Restart openvpn server?
Yeah MTU can be a pita, but I doubt those sites are ignoring path mtu discovery.
Wireshark the connection
Thanks, unfortunately I don't want to execute anything on my router for fear it will impact my home network. But thanks.
You should be able to back up your router config in case you break things.
@SonicVPS I can, but don't really want to risk it. It works for what I need it to.
I have the same issue but with PPTP
+1 same problem -- exactly!
append these lines to your openvpn server configuration
link-mtu 1402 mssfix 1356
for PPTP, add this line to /etc/ppp/options
mtu 1402
and do this iptables rule
iptables -I FORWARD -p tcp -syn -i ppp+ -j TCPMSS -set-mss 1356
@vedran: I've restarted the OpenVPN server, no joy
@1q1 Can't do it now as I'm uploading a bunch of files. Will do so tomorrow and report back. Thanks!
mtu 1402
iptables -I FORWARD -p tcp -syn -i ppp+ -j TCPMSS -set-mss 1356
will try tonight
@netomx put it in the mangle table - iptables -t mangle -I FORWARD ...
I think
-syn
and-set-mss
should be--syn
and--set-mss
Tried all these suggestions with no success... Anyone else get it going?
@1q1 Sadly it made no difference on my OpenVPN server.. Ofcourse I rebooted it and reconnected, but still no joy
Do as kuro said.
Try install firebug firefox addons to analyze the undelivered contents.
What happened if you use other browser?
I'm using Chrome at the moment -- just had it load once, a couple of pictures never loaded... Hit reload and got that text page thing again. Third time nothing loaded (blank page) except for the title at the top...
Internet explorer - "Internet explorer can not display this webpage" -- although for a moment on the tab it displays "Lifehacker, tips etc...." then the 'can not display error'...
if you rebooted the server the iptables rules would be reset on boot.