Hi there. I am attempting to have my D-Link DSR-250n router connect to my OpenVPN server. I have followed this guide
https://library.linode.com/networking/openvpn/ubuntu-12.04-precise#sph_tunneling-all-connections-through-the-vpn in terms of getting the server up and running, and can successfully establish a client connection and resolve names using both the OpenVPN client for Windows, and the Android OpenVPN client. Here is my server config:
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
push "redirect-gateway def1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.8.4"
push "dhcp-option DNS 10.8.0.1"
I've added my certificates to the DSR-250n, ensured that the protocol (UDP), encryption and has algos are correct, and pointed it at the VPN (there are no other config options); it connects with seemingly no problem and the router logs report no errors. Once the connection is established, I can both ping the VPN server IP from a computer connected to the DSR-250n router and also can SSH to the VPN server without issue. What I can't seem to do once the router has connected is resolve names from both the router using it's built-in tools, or from any router connected computer. On all of the VPN server, router and local computers, I have hard-coded the Google DNS servers, 8.8.8.8, 8.8.8.4.
So I have connectivity to the server and a seemingly good VPN connection that allows me to SSH to the server itself - once there, I can traceroute names without an issue.
What I've tried:
The DSR-250n has a DNS proxy feature that will allow connected computers to use the router's IP as a DNS - I've turned this on and off with no change in functionality. I haven't really changed the above server config, as I wasn't sure where to start.
Any help appreciated!