diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2024-10-10 15:06:34 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2024-10-10 15:06:34 -0700 |
commit | 45e1dc5d3ec169fd584983340e56d14332b9832b (patch) | |
tree | 436290c461c3bdd820b30bd9f9a6a2fc0f4e5216 /sh/phantun_wg_server | |
parent | a60b819a1039e0a2edcfe1d5ab933ada3ccac7a9 (diff) |
wireguard phantun, udp2raw, and udpspeeder configs
Diffstat (limited to 'sh/phantun_wg_server')
-rwxr-xr-x | sh/phantun_wg_server | 18 |
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 |