I'm hoping someone might be able to help. I have an ASUS router which uses openVPN and spits out a config file to load into my OpenVPN client.
The issue is that when I connect with my OpenVPN client in MacOS or Windows, the client uses the ISP's DNS server rather than the DNS server running on the router (10.11.12.1). This means that I can't easily find local clients using their server name.
I've tried modifying the client config file and specifying the DNS server but the client ignores this (confirmed with nslookup). If I use the Tunnelblick client everything works fine.
This is my config file:
Code: Select all
remote router.domain.com.au 1194
float
nobind
proto udp
pull-filter ignore "dhcp-option DNS"
pull-filter ignore "dhcp-option DNS6"
dhcp-option DNS 10.11.12.1
dhcp-option DOMAIN domain.local
dev tun
sndbuf 0
rcvbuf 0
keepalive 15 60
comp-lzo adaptive
auth-user-pass
client
auth SHA1
remote-cert-tls server