mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-15 03:43:40 +08:00
update
This commit is contained in:
1 parent
da4cd8c28b
commit
a156c58d9a
1 file changed
+8
@@ -43,6 +43,10 @@ jobs:
|
||||
echo 'ip6tables -t nat -A POSTROUTING -o wgcf -j MASQUERADE || true' >> target/wgcf-up.sh
|
||||
echo 'iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE || true' >> target/wgcf-up.sh
|
||||
echo 'ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add 162.159.192.0/24 dev eth0 via 10.11.0.1 || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add 162.159.193.0/24 dev eth0 via 10.11.0.1 || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add 162.159.195.0/24 dev eth0 via 10.11.0.1 || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add 162.159.204.0/24 dev eth0 via 10.11.0.1 || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add 188.114.96.0/22 dev eth0 via 10.11.0.1 || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add 2606:4700:d0::/47 dev eth0 via fe80::6a77:24ff:fed6:809d || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add 1.1.1.1/32 dev wgcf || true' >> target/wgcf-up.sh
|
||||
@@ -58,6 +62,10 @@ jobs:
|
||||
echo 'ip6tables -t nat -D POSTROUTING -o wgcf -j MASQUERADE || true' >> target/wgcf-down.sh
|
||||
echo 'iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE || true' >> target/wgcf-down.sh
|
||||
echo 'ip6tables -t nat -D POSTROUTING -o eth0 -j MASQUERADE || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del 162.159.192.0/24 dev eth0 via 10.11.0.1 || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del 162.159.193.0/24 dev eth0 via 10.11.0.1 || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del 162.159.195.0/24 dev eth0 via 10.11.0.1 || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del 162.159.204.0/24 dev eth0 via 10.11.0.1 || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del 188.114.96.0/22 dev eth0 via 10.11.0.1 || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del 2606:4700:d0::/47 dev eth0 via fe80::6a77:24ff:fed6:809d || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del 1.1.1.1/32 dev wgcf || true' >> target/wgcf-down.sh
|
||||
|
||||
Reference in new issue
Block a user