User Tools

Site Tools


vpn-pi

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
vpn-pi [2020/04/29 14:45]
robm
vpn-pi [2020/04/29 16:37]
robm [DHCP & DNS Services]
Line 57: Line 57:
   --dhcp-range=172.16.0.10,172.16.0.20,1h \   --dhcp-range=172.16.0.10,172.16.0.20,1h \
   --except-interface=eth0 \   --except-interface=eth0 \
 +  --bind-interfaces \
   --dhcp-authoritative \   --dhcp-authoritative \
   --clear-on-reload   --clear-on-reload
 </code> </code>
 +
 +Notes:
 +
 +  * ''--bind-interfaces' causes the DNS server (TCP/UDP port 53) to bind to the network interfaces it will serve requests from. We need this because the default behaviour of binding to all interfaces via the special address ''0.0.0.0'' conflicts with ''systemd-resolved'' which binds to ''127.0.0.53%lo''. This essentially works around it.
  
 Later on, we'll want to move these settings into ''/etc/dnsmasq.conf'' Later on, we'll want to move these settings into ''/etc/dnsmasq.conf''
vpn-pi.txt · Last modified: 2020/04/29 16:54 by robm