[resolved] Can Connect a Client but Cannot Access Web Pages
Posted: Mon Dec 19, 2011 12:02 pm
Hi
I run OpenVPN AS on a VPS server in the UK – with a static IP.
The server works fine. I connect from a Windows XP OpenVPN client, through a wirelesss connection to a BT Home Hub router and BT broadband (dynamic IP). Traffic passes through the VPN and webpages do report that my public IP is the VPN server’s IP.
The problem is that a friend in Spain can no longer use the VPN service. Previously he could use the VPN. He can connect from the OpenVPN client on his Windows XP and his connection appears in the VPN server’s openvpnas log. But he cannot access the web through the VPN. The only main change to his setup that I know is that he now uses Telefonica/Movistar Broadband (dynamic IP) through a wireless connection to a Zyxel P660HW-B1A router. The OpenVPN server was migrated earlier this year to a new VPS server and, at that point, I modified the IPtables. He has not been able to connect since then, but he had not tried the connection for a few months before that and so it is difficult to pinpoint the possible cause. Given that I can still use the VPN from UK, it seems that his problem is more likely a result of changing his ISP and/or router.
When he attempts to access a webpage he gets a standard browser message about cannot connect to web page. Of course, he can use the web direct – without the VPN.
We both use the same client ovpn config file.
Comparison of the IPconfig on client machines.
To me, the only noticeable difference is in the wireless connection, DNS IP.
In the UK: DNS Servers . . . . . . . . . . . : 192.168.1.254
In Spain: DNS Servers . . . . . . . . . . . : 80.58.61.250
80.58.61.254
These are Telefonica DNS Servers.
Part of my IPconfig in UK
Windows IP Configuration
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : home
Ethernet adapter Wireless Network Connection 3:
Description . . . . . . . . . . . : Broadcom 802.11a/b/g WLAN
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.65
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
DHCP Server . . . . . . . . . . . : 192.168.1.254
DNS Servers . . . . . . . . . . . : 192.168.1.254
Ethernet adapter Local Area Connection 3:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V9
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 5.5.0.50
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . : 5.5.0.1
DHCP Server . . . . . . . . . . . : 5.5.15.254
DNS Servers . . . . . . . . . . . : 194.0.252.231
194.0.252.16
Part of IPconfig in Spain
Windows IP Configuration
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Wireless Network Connection 6:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TP-LINK 11b/g Wireless Adapter
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . : 192.168.1.99
DHCP Server . . . . . . . . . . : 192.168.1.99
DNS Servers . . . . . . . . . . . : 80.58.61.250
80.58.61.254
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter OAS
Physical Address. . . . . . . . . : 00-FF-29-76-11-22
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 5.5.0.54
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . : 5.5.0.1
DHCP Server . . . . . . . . . . . : 5.5.15.254
DNS Servers . . . . . . . . . . . : 194.0.252.231
194.0.252.16
Any help gratefully appreciated. Peter
I run OpenVPN AS on a VPS server in the UK – with a static IP.
The server works fine. I connect from a Windows XP OpenVPN client, through a wirelesss connection to a BT Home Hub router and BT broadband (dynamic IP). Traffic passes through the VPN and webpages do report that my public IP is the VPN server’s IP.
The problem is that a friend in Spain can no longer use the VPN service. Previously he could use the VPN. He can connect from the OpenVPN client on his Windows XP and his connection appears in the VPN server’s openvpnas log. But he cannot access the web through the VPN. The only main change to his setup that I know is that he now uses Telefonica/Movistar Broadband (dynamic IP) through a wireless connection to a Zyxel P660HW-B1A router. The OpenVPN server was migrated earlier this year to a new VPS server and, at that point, I modified the IPtables. He has not been able to connect since then, but he had not tried the connection for a few months before that and so it is difficult to pinpoint the possible cause. Given that I can still use the VPN from UK, it seems that his problem is more likely a result of changing his ISP and/or router.
When he attempts to access a webpage he gets a standard browser message about cannot connect to web page. Of course, he can use the web direct – without the VPN.
We both use the same client ovpn config file.
Comparison of the IPconfig on client machines.
To me, the only noticeable difference is in the wireless connection, DNS IP.
In the UK: DNS Servers . . . . . . . . . . . : 192.168.1.254
In Spain: DNS Servers . . . . . . . . . . . : 80.58.61.250
80.58.61.254
These are Telefonica DNS Servers.
Part of my IPconfig in UK
Windows IP Configuration
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : home
Ethernet adapter Wireless Network Connection 3:
Description . . . . . . . . . . . : Broadcom 802.11a/b/g WLAN
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.65
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
DHCP Server . . . . . . . . . . . : 192.168.1.254
DNS Servers . . . . . . . . . . . : 192.168.1.254
Ethernet adapter Local Area Connection 3:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V9
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 5.5.0.50
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . : 5.5.0.1
DHCP Server . . . . . . . . . . . : 5.5.15.254
DNS Servers . . . . . . . . . . . : 194.0.252.231
194.0.252.16
Part of IPconfig in Spain
Windows IP Configuration
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Wireless Network Connection 6:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TP-LINK 11b/g Wireless Adapter
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . : 192.168.1.99
DHCP Server . . . . . . . . . . : 192.168.1.99
DNS Servers . . . . . . . . . . . : 80.58.61.250
80.58.61.254
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter OAS
Physical Address. . . . . . . . . : 00-FF-29-76-11-22
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 5.5.0.54
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . : 5.5.0.1
DHCP Server . . . . . . . . . . . : 5.5.15.254
DNS Servers . . . . . . . . . . . : 194.0.252.231
194.0.252.16
Any help gratefully appreciated. Peter