From 3fa37bbc1f4f27c974b1030e179298e8cb852a43 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 19 Jun 2024 02:40:08 -0700 Subject: Enable WAN port and NAT --- hosts/darkstar/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'hosts/darkstar') 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"; }; }; -- cgit v1.2.3