nixos/firewall: DNAT by IP instead of incoming interface
This commit is contained in:
		@@ -324,6 +324,7 @@ in
 | 
			
		||||
                nat = {
 | 
			
		||||
                  enable = true;
 | 
			
		||||
                  externalInterface = "wan";
 | 
			
		||||
                  externalIP = assignments.internal.ipv4.address;
 | 
			
		||||
                  forwardPorts = [
 | 
			
		||||
                    {
 | 
			
		||||
                      port = "http";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user