Remove duplicated -t argument

This commit is contained in:
Sandro - 2024-03-23 23:32:23 +01:00
parent 4f82d29f79
commit f2ac3a3ae2
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ in
${lib.optionalString (staticIpv4Address != null) ''
# Allow connections to ${staticIpv4Address} from other hosts behind NAT
${lib.concatMapStrings (fwd: ''
iptables -t nat -t nat -A nixos-nat-pre \
iptables -t nat -A nixos-nat-pre \
-d ${staticIpv4Address} -p ${fwd.proto} \
--dport ${builtins.toString fwd.sourcePort} \
-j DNAT --to-destination ${fwd.destination}