修复容器频繁重启的问题

This commit is contained in:
bjdgy
2023-12-26 11:24:01 +08:00
parent dfb25718f7
commit 17492d8172
6 changed files with 42 additions and 22 deletions

View File

@@ -14,7 +14,7 @@ case $var1 in
;;
*)
sysctl -w net.ipv4.ip_forward=1
#sysctl -w net.ipv4.ip_forward=1
#iptables -t nat -A POSTROUTING -s "${IPV4_CIDR}" -o eth0+ -j MASQUERADE
#iptables -nL -t nat