This commit is contained in:
darkclip committed 2023-12-30 23:37:38 +08:00
1 parent a156c58d9a
commit c01255b6a5
1 file changed
+2
+2
View File
@@ -50,6 +50,7 @@ jobs:
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
echo 'ip route add 2606:4700:4700::1111/128 dev wgcf || true' >> target/wgcf-up.sh
echo 'ip route add 0.0.0.0/1 dev wgcf || true' >> target/wgcf-up.sh
echo 'ip route add 128.0.0.0/1 dev wgcf || true' >> target/wgcf-up.sh
echo 'ip route add ::/1 dev wgcf || true' >> target/wgcf-up.sh
@@ -69,6 +70,7 @@ jobs:
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
echo 'ip route del 2606:4700:4700::1111/128 dev wgcf || true' >> target/wgcf-down.sh
echo 'ip route del 0.0.0.0/1 dev wgcf || true' >> target/wgcf-down.sh
echo 'ip route del 128.0.0.0/1 dev wgcf || true' >> target/wgcf-down.sh
echo 'ip route del ::/1 dev wgcf || true' >> target/wgcf-down.sh