about summary refs log tree commit diff
path: root/sh/phantun_wg_server
diff options
context:
space:
mode:
Diffstat (limited to 'sh/phantun_wg_server')
-rwxr-xr-xsh/phantun_wg_server18
1 files changed, 18 insertions, 0 deletions
diff --git a/sh/phantun_wg_server b/sh/phantun_wg_server
new file mode 100755
index 0000000..b0693a5
--- /dev/null
+++ b/sh/phantun_wg_server
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# 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
+# 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
+
+# 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
+
+# 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
+
+# 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