4
如何将自己的DNS服务器推送到OpenVPN?
我在VPS上定义了一个未绑定的 DNS服务器,它似乎可以工作。我需要使用DNS服务器而不是公共DNS服务器,因为某些ISP阻止了公共DNS IP。我的openvpn.conf文件是: dev tun proto tcp # Notice: here I set the listening port to be 80 to avoid possible port blockage port 80 ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt cert /etc/openvpn/easy-rsa/2.0/keys/server.crt key /etc/openvpn/easy-rsa/2.0/keys/server.key dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem user nobody group nogroup server 10.8.0.0 255.255.255.0 persist-key persist-tun #status openvpn-status.log #verb 3 client-to-client push "redirect-gateway def1" …