heisenberg1977 0 Posted ... Is there a way to configure my setup to be able to resolve my internal network hosts when connected to the AIRVPN client? My Home NetworkLaptop - Linux MINT w/AIRVPN clientWorkstation - Linux MINT - Role: file serverpfSense running DNS Resolver (Unbound) I'm trying to write an rsync over SSH script to sync files between my laptop and workstation. My laptop is always connected to VPN and when it is, DNS resolution does not work for my internal hosts. I am still able to reach my workstation by connecting via IP address. I know this is by design to avoid DNS leaks, but am curious to know if it is possible to configure my network to allow internal resolution without compromising security. Quote Share this post Link to post
NaDre 157 Posted ... You could give the machines in your LAN names instead of IP addresses using /etc/hosts on your laptop:http://man7.org/linux/man-pages/man5/hosts.5.htmlBut then the IP addresses could change? You could tell your DHCP client to assign a fixed IP based on MAC address.How do you have names for your machines when the VPN is not up? I don't use pfsense. Does that DNS just support something similar to /etc/hosts? EDIT:I guess you are using "local-data"?https://doc.pfsense.org/index.php/Unbound_DNS_ResolverOr is that a configuration command? That short description is not a lot of help Or maybe you are using "Register DHCP leases in the DNS Resolver"? Do those go into some sort of local domain name? Quote Share this post Link to post
heisenberg1977 0 Posted ... The DHCP leases are registered in the DNS resolver. The easiest way is to use a static entry in /etc/hosts. It works! Thanks Quote Share this post Link to post