some changes around iptables

This commit is contained in:
0xdcarns
2022-04-22 13:04:34 -04:00
parent 5aae277551
commit 6eab0498fc
5 changed files with 33 additions and 17 deletions

View File

@@ -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
}