mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-09 18:51:00 +08:00
fix parsing postup/postdown
This commit is contained in:
@@ -317,7 +317,7 @@ func firewallNFTCommandsCreateEgress(networkInterface string, gatewayInterface s
|
||||
postUp += "nft add chain nat POSTROUTING ; "
|
||||
postUp += "nft add rule ip nat POSTROUTING oifname " + gatewayInterface + " counter masquerade ; "
|
||||
|
||||
postDown += "nft flush table nat; "
|
||||
postDown += "nft flush table nat ; "
|
||||
}
|
||||
|
||||
return postUp, postDown
|
||||
|
Reference in New Issue
Block a user