Hello,
I am new to OpenVPN attracted to the secure web surfing at the public wireless network.
I do not have any idea about networking and might be asking some silly question, but I need your kind help.
Here is my problem :
Whenever I apply "redirect-gateway" option, my computer is disconnected from network.
To be specific, my computer cannot resolve domain names at all.
I disabled both iptables on the server side and Windows Firewall on the client side.
I applied push "dhcp-option DNS 8.8.8.8" option to set DNS server manually.
I followed Windows 7 OpenVPN server setting written by Bebop in this forum.
However, nothing helped me resolve this problem.
Here are my settings.
Server.conf
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir ccd
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
ccd/client
ifconfig-push 10.8.0.2 10.8.0.1
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
ipconfig /all
Ethernet adapter OpenVPN:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter V9
Physical Address. . . . . . . . . : 00-FF-8A-6B-64-DD
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::f8dc:32ed:d255:6393%28(Preferred)
IPv4 Address. . . . . . . . . . . : 10.8.0.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Lease Obtained. . . . . . . . . . : 2011-6-6 Mon AM 10:46:43
Lease Expires . . . . . . . . . . : 2012-6-5 Tue AM 10:46:43
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 10.8.0.1
DHCPv6 IAID . . . . . . . . . . . : 469827466
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-0A-60-F4-00-13-77-F0-17-46
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Wireless WiFi Link 4965AGN
Physical Address. . . . . . . . . : 00-1D-E0-25-EF-35
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::d140:3c2c:a35a:a5a2%12(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.9(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 2011-6-6 Mon AM 9:22:51
Lease Expires . . . . . . . . . . : 2011-6-16 Thu AM 10:22:01
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 218111456
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-0A-60-F4-00-13-77-F0-17-46
DNS Servers . . . . . . . . . . . : 168.126.63.1
168.126.63.2
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8055 PCI-E Gigabit Ether
net Controller
Physical Address. . . . . . . . . : 00-13-77-F0-17-46
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
If there are any additional information that will help you resolve this issue, please inform me.
Thank you.