Hello!
Please help me to setup OpenVPN.
My goal is to configure OpenVPN, so traffic only to selected subnets goes through VPN.
I already installed and tested OpenVPN on Ubuntu 16.04 and using Windows 10 client.
I used following script for configuration:
https://github.com/Nyr/openvpn-install
It works successfully when I use those two options:
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 213.133.98.98"
But then I tried reconfiguration: removed above two lines and added this line instead:
push "route xx.xx.xx.176 255.255.255.240"
After connection to VPN I'm able to ping public IP addresses like 8.8.8.8.
1) But DNS requests on Windows 10 client laptop doesn't work anymore:
Address: 8.8.4.4
DNS request timed out.
2) Moreover, hosts of xx.xx.xx.176 network are not pingable anymore from Windows client
Thank you!