Hellbound_TKR
Hi there,
I am having a problem resolving DNS through my openVPN connection to VPS running Debian 8 from WIndows 7 Client.
I am able to ping the OpenVPN server on both 10.8.0.1 and on its outfacing ip, I can also ping other IPs on the WAN through the tunnel no problem and can also ping domain from the server IP "Ping google.com" but cannot do this from client side.
I have tried absolutely everything to fix this and im all out of options. I even thought perhaps its a problem solely related to windows 7 as this exact same configuration that was working in a windows 10 environment.
When triying to resolve DNS from my client by visiting a website nothing even shows up in my syslog on the server. I have even tried chaning the bind order manually in windows but nothing
my VPS has no Eth0 but has venet0 and venet0 : 0 with public facing ip.
I entered -A POSTROUTING -s 10.8.0.0/8 -o eth0 -j MASQUERADE into ip tables manually but have also tried -A POSTROUTING -s 10.8.0.0/8 -o venet0 -j MASQUERADE .
I havent setup BIND9 yet to push server as DNS as i want to get it workign before i do that. IPCONFIG in windows show that 8.8.8.8 and 8.8.4.4 is pushing correctly from server conf and my Client ip is 10.8.0.2.
ufw has allow ssh 22
allow udp 1194
allow udp 53
Any help would be greatly appreciated.
port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote xx.xxx.xx.xx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3