Update
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "Installing Podman..."
|
echo "Installing Podman..."
|
||||||
|
|
||||||
apk add podman iptables podman-compose
|
apk add podman podman-compose
|
||||||
rc-update add cgroups
|
rc-update add cgroups
|
||||||
rc-service cgroups start
|
rc-service cgroups start
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
iptables -F
|
|
||||||
iptables -X
|
|
||||||
iptables -t nat -F
|
|
||||||
iptables -t nat -X
|
|
||||||
iptables -t mangle -F
|
|
||||||
iptables -t mangle -X
|
|
||||||
iptables -P INPUT ACCEPT
|
|
||||||
iptables -P FORWARD ACCEPT
|
|
||||||
iptables -P OUTPUT ACCEPT
|
|
||||||
|
|
||||||
# Wireguard
|
|
||||||
# iptables -A FORWARD -i wg0 -j ACCEPT
|
|
||||||
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
|
||||||
Reference in New Issue
Block a user