Created
May 1, 2019 01:02
-
-
Save cransom/89bccbd9cb4e420441f0cf764cda3a00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#eno1.10 is outside, eno1.20 is inside. | |
services.dnsmasq = { | |
enable = true; | |
resolveLocalQueries = true; | |
extraConfig = '' | |
dhcp-range=::1,::ffff,constructor:eno1.20,ra-names,48h | |
#and other stuff | |
''; | |
}; | |
networking.dhcpcd.persistent = true; | |
networking.dhcpcd.extraConfig = '' | |
xidhwaddr | |
noipv6rs | |
#debug | |
interface eno1.10 | |
ipv6rs | |
iaid 10 | |
ia_na 1 | |
ia_pd 2/::/56 eno1.20/2 | |
''; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment