Changing IPTABLES variable to correct iptables bin
This commit is contained in:
@@ -374,7 +374,7 @@ if [[ "$PREROUTING" == "true" ]] || [[ "$POSTROUTING" == "true" ]] || [[ "$HOST"
|
||||
IPTABLES="/sbin/iptables -t nat";
|
||||
debug "iptables: "$IPTABLES;
|
||||
else
|
||||
IPTABLES="nsenter -t $(docker inspect --format {{.State.Pid}} $NAME) -n -- $IPTABLES -t nat";
|
||||
IPTABLES="nsenter -t $(docker inspect --format {{.State.Pid}} $NAME) -n -- /sbin/iptables -t nat";
|
||||
debug "iptables: "$IPTABLES;
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user