diff --git a/geth-poa/entrypoint.sh b/geth-poa/entrypoint.sh index 37bfce41bc..bd75afab9e 100644 --- a/geth-poa/entrypoint.sh +++ b/geth-poa/entrypoint.sh @@ -45,9 +45,9 @@ fi NODE_IP=${NODE_IP:-$(hostname -i)} if [ -n "$PUBLIC_NODE_IP" ]; then - NAT_FLAG="--nat extip:$PUBLIC_NODE_IP" + NAT_FLAG="--nat=extip:$PUBLIC_NODE_IP" else - NAT_FLAG="--nat none" + NAT_FLAG="--nat=none" fi