ma 1 darth: remove nat

This commit is contained in:
makefu 2016-06-23 16:56:13 +02:00
parent 5894ecc942
commit 55905dabdf
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -33,16 +33,10 @@ in {
firewall = {
allowPing = true;
logRefusedConnections = false;
allowedUDPPorts = [ 80 655 67 ];
allowedTCPPorts = [ 80 655 ];
};
nat = {
enable = true;
internalIPs = [ "10.8.10.0/24" ];
#internalInterfaces = [ "tinc.siem" ];
externalIP = "10.8.8.2";
externalInterface = "virbr3";
allowedUDPPorts = [ 80 655 1655 67 ];
allowedTCPPorts = [ 80 655 1655 ];
};
# fallback connection to the internal virtual network
interfaces.virbr3.ip4 = [{
address = "10.8.8.2";
prefixLength = 24;