about summary refs log tree commit diff
path: root/sh/phantun_wg_client
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-10-10 15:06:34 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-10-10 15:06:34 -0700
commit45e1dc5d3ec169fd584983340e56d14332b9832b (patch)
tree436290c461c3bdd820b30bd9f9a6a2fc0f4e5216 /sh/phantun_wg_client
parenta60b819a1039e0a2edcfe1d5ab933ada3ccac7a9 (diff)
wireguard phantun, udp2raw, and udpspeeder configs
Diffstat (limited to 'sh/phantun_wg_client')
-rwxr-xr-xsh/phantun_wg_client17
1 files changed, 17 insertions, 0 deletions
diff --git a/sh/phantun_wg_client b/sh/phantun_wg_client
new file mode 100755
index 0000000..3c9369c
--- /dev/null
+++ b/sh/phantun_wg_client
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# more see vc notes
+
+sudo env RUST_LOG=info phantun-client --local 127.0.0.1:59083 --remote 89.213.174.92:59083 --tun-local 10.0.1.1 --tun-peer 10.0.1.2 --tun-local6 fdc9:281f:04d7:9eea::1 --tun-peer6 fdc9:281f:04d7:9eea::2 --tun pt0
+# ipv6
+#sudo env RUST_LOG=info phantun-client --local [::1]:59083 --remote [2a0f:9400:7e11:bce7::1]:59083 --tun-local 10.0.1.1 --tun-peer 10.0.1.2 --tun-local6 fdc9:281f:04d7:9eea::1 --tun-peer6 fdc9:281f:04d7:9eea::2 --tun pt0
+
+# try single cpu
+#sudo env RUST_LOG=info firejail --noprofile --cpu=0 phantun-client --local 127.0.0.1:59083 --remote 89.213.174.92:59083 --tun-local 10.0.1.1 --tun-peer 10.0.1.2 --tun-local6 fdc9:281f:04d7:9eea::1 --tun-peer6 fdc9:281f:04d7:9eea::2 --tun pt0
+
+# old
+#sudo env RUST_LOG=info phantun-client --local 127.0.0.1:59083 --remote ia.flylightning.xyz:59083
+#sudo env RUST_LOG=info phantun-client --local 127.0.0.1:59083 --remote 89.213.174.92:59083
+#sudo env RUST_LOG=info phantun-client --local 127.0.0.1:59083 --remote 89.213.174.92:59083 --tun-local 10.0.1.1 --tun-peer 10.0.1.2 --tun-local6 fdc9:281f:04d7:9eea::1 --tun-peer6 fdc9:281f:04d7:9eea::2
+
+# RUST_LOG=debug