Answer the question
In order to leave comments, you need to log in
How to send traffic to only one domain through OpenVPN?
Now the server has this config:
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
client
proto udp
dev tun
remote {{ public_ip_address }}
port {{ vpn_server_port }}
resolv-retry infinite
remote-cert-tls server
auth SHA256
cipher AES-256-CBC
pull-filter ignore "redirect-gateway def1 bypass-dhcp"
route 10.0.0.0 255.0.0.0
route 172.0.0.0 255.0.0.0
ignore-unknown-option block-outside-dns
block-outside-dns
verb 4
persist-key
persist-tun
nobind
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question