User Tools

Site Tools


ubuntu:vpn:openvpn:configure_openvpn_to_resolve_local_dns_hostnames

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:vpn:openvpn:configure_openvpn_to_resolve_local_dns_hostnames [2021/07/05 08:38] – created peterubuntu:vpn:openvpn:configure_openvpn_to_resolve_local_dns_hostnames [2021/07/05 08:50] (current) peter
Line 19: Line 19:
 push "dhcp-option DNS 192.168.1.1" push "dhcp-option DNS 192.168.1.1"
 push "dhcp-option DOMAIN localdomain" push "dhcp-option DOMAIN localdomain"
-</code>+</file>
  
 <WRAP info> <WRAP info>
Line 30: Line 30:
 ===== Client ===== ===== Client =====
  
-Install the **resolvconf** package to give your OpenVPN client the ability to rebuild the resolv.conf file when you start and stop your VPN connection; backup/remove your existing resolv.conf file; and create a symlink to resolvconf'resolv.conf file. This can all be done by running the following+Install the **resolvconf** package to give your OpenVPN client the ability to rebuild the resolv.conf file when you start and stop your VPN connection
 + 
 +This also backups the existing resolv.conf file; and creates a symlink to the resolv.conf file.
  
 <code bash> <code bash>
Line 60: Line 62:
 </code> </code>
  
 +----
 +
 +===== References =====
 +
 +https://steamforge.net/wiki/index.php/How_to_configure_OpenVPN_to_resolve_local_DNS_%26_hostnames
 +
 +http://www.softwarepassion.com/solving-dns-problems-with-openvpn-on-ubuntu-box/
 +
 +https://serverfault.com/questions/318563/how-to-push-my-own-dns-server-to-openvpn
ubuntu/vpn/openvpn/configure_openvpn_to_resolve_local_dns_hostnames.1625474319.txt.gz · Last modified: 2021/07/05 08:38 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki