tcarmen
First, I'd like to say that it took a bit of of trial and error, but the server is working beautifully with the Android client and can access everything.
Except . . .
The Centos 6 machine hosting the OpenVPN server also hosts DNS. DNS listens on all interfaces (eth0, lo, tun0) and can be accessed normally, however the VPN client can't seem to use it.
push "dhcp-option DNS 8.8.8.8" works fine.
push "dhcp-option DNS 127.0.0.1" doesn't work (client can't resolve anything)
push "dhcp-option DNS 10.8.0.1" doesn't work (client can't resolve anything)
Does anybody have any idea how to make this work?
server.conf below.
Thanks!
Terry
server.conf:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 6
client.conf
client
dev tun
remote ser.ver.ip.addr
resolv-retry infinite
nobind
persist-key
persist-tun
ca [inline]
cert [inline]
key [inline]
verb 1
keepalive 10 120
port 1194
proto udp
cipher BF-CBC
comp-lzo