aboutsummaryrefslogtreecommitdiff
path: root/sh/phantun_wg_server
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-20 13:14:14 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-07-20 13:14:14 +0800
commit178ac740a34f2d476c816b6eb1ddf842ac0b6809 (patch)
tree9dcbf24ed65c60f6c1a3844a48b901da06294d05 /sh/phantun_wg_server
parent8e96ec9fdb6e522bdbf1e309d23481924b314a2b (diff)
it seems phantun changed names
Diffstat (limited to 'sh/phantun_wg_server')
-rwxr-xr-xsh/phantun_wg_server12
1 files changed, 6 insertions, 6 deletions
diff --git a/sh/phantun_wg_server b/sh/phantun_wg_server
index b0693a5..37af569 100755
--- a/sh/phantun_wg_server
+++ b/sh/phantun_wg_server
@@ -3,16 +3,16 @@
# more see vc notes
# without udpspeeder
-sudo env RUST_LOG=info phantun-server --local 59083 --remote 127.0.0.1:49432 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
+sudo env RUST_LOG=info phantun_server --local 59083 --remote 127.0.0.1:49432 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
# ipv6
-#sudo env RUST_LOG=info phantun-server --local 59083 --remote [::1]:49432 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
+#sudo env RUST_LOG=info phantun_server --local 59083 --remote [::1]:49432 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
# old
-#sudo env RUST_LOG=info phantun-server --local 59083 --remote 127.0.0.1:49432
-#sudo env RUST_LOG=info phantun-server --local 59083 --remote 127.0.0.1:49432 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2
+#sudo env RUST_LOG=info phantun_server --local 59083 --remote 127.0.0.1:49432
+#sudo env RUST_LOG=info phantun_server --local 59083 --remote 127.0.0.1:49432 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2
# try with udpspeeder
-#sudo env RUST_LOG=info phantun-server --local 59083 --remote 127.0.0.1:53365 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
+#sudo env RUST_LOG=info phantun_server --local 59083 --remote 127.0.0.1:53365 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
# try with swgp
-#sudo env RUST_LOG=info phantun-server --local 59083 --remote 127.0.0.1:54637 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
+#sudo env RUST_LOG=info phantun_server --local 59083 --remote 127.0.0.1:54637 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0