mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-16 05:41:13 +08:00
some changes around iptables
This commit is contained in:
@@ -77,7 +77,7 @@ func isContainerized() bool {
|
||||
|
||||
// make sure host allows forwarding
|
||||
func setForwardPolicy() error {
|
||||
logger.Log(1, "setting iptables forward policy")
|
||||
logger.Log(2, "setting iptables forward policy")
|
||||
_, err := ncutils.RunCmd("iptables --policy FORWARD ACCEPT", false)
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user