diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-06-19 02:40:08 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-06-19 02:40:08 -0700 |
commit | 3fa37bbc1f4f27c974b1030e179298e8cb852a43 (patch) | |
tree | 93f3c8b8ea7842c2f591bdd20eeae673ea7153a3 /hosts/darkstar/default.nix | |
parent | b8afe159665ce97fd8bd96d96fc9d5624624734d (diff) | |
download | nix-3fa37bbc1f4f27c974b1030e179298e8cb852a43.tar nix-3fa37bbc1f4f27c974b1030e179298e8cb852a43.tar.gz nix-3fa37bbc1f4f27c974b1030e179298e8cb852a43.tar.bz2 nix-3fa37bbc1f4f27c974b1030e179298e8cb852a43.tar.lz nix-3fa37bbc1f4f27c974b1030e179298e8cb852a43.tar.xz nix-3fa37bbc1f4f27c974b1030e179298e8cb852a43.tar.zst nix-3fa37bbc1f4f27c974b1030e179298e8cb852a43.zip |
Enable WAN port and NAT
Diffstat (limited to 'hosts/darkstar/default.nix')
-rw-r--r-- | hosts/darkstar/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix index 20557b9..54f1e13 100644 --- a/hosts/darkstar/default.nix +++ b/hosts/darkstar/default.nix @@ -63,14 +63,14 @@ }; }; nameservers = [ "192.168.1.1" ]; - #nat = { - # enable = true; - # #enableIPv6 = true; - # externalInterface = "vlan201"; - # internalInterfaces = [ "enp116s0" ]; - #}; + nat = { + enable = true; + #enableIPv6 = true; + externalInterface = "vlan201"; + internalInterfaces = [ "enp116s0" ]; + }; nftables.enable = true; - #useDHCP = false; + useDHCP = false; vlans = { vlan201 = { id=201; interface="enp117s0"; }; }; |