Remove duplicated -t argument
This commit is contained in:
parent
4f82d29f79
commit
f2ac3a3ae2
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue