From 45e1dc5d3ec169fd584983340e56d14332b9832b Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 10 Oct 2024 15:06:34 -0700 Subject: wireguard phantun, udp2raw, and udpspeeder configs --- configs/configs_root_dir/etc/udp2raw/client.conf | 30 ++++++++++++++++++++++++ configs/configs_root_dir/etc/udp2raw/server.conf | 29 +++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 configs/configs_root_dir/etc/udp2raw/client.conf create mode 100644 configs/configs_root_dir/etc/udp2raw/server.conf (limited to 'configs/configs_root_dir/etc/udp2raw') diff --git a/configs/configs_root_dir/etc/udp2raw/client.conf b/configs/configs_root_dir/etc/udp2raw/client.conf new file mode 100644 index 0000000..82a67f6 --- /dev/null +++ b/configs/configs_root_dir/etc/udp2raw/client.conf @@ -0,0 +1,30 @@ +# Basically this file is the equivalent to splitting the command line options into multiple lines +# Each line should contain an option + +# https://www.procustodibus.com/blog/2022/02/wireguard-over-tcp/ + +# client +-c +# works +#--raw-mode icmp +#--raw-mode easy-faketcp +# default not working at home, works at school +#--raw-mode faketcp +# Or use -s if you use it on server side +# Define local address +-l 127.0.0.1:60711 +# Define remote address +-r 89.213.174.92:60711 +# I use --cipher-mode none so maybe no need a password +# if later on I want to encrypt, need to change this file's mode bit to 600 and switch to cfg -s add this file +# can be generated with `wg genpsk` +#-k + +# https://discord.com/channels/1100649526232092692/1100760493423083560/1270466158730018836 +--cipher-mode none +--auth-mode none +# following two not sure if useful +--fix-gro +--seq-mode 0 + +#--log-level 5 diff --git a/configs/configs_root_dir/etc/udp2raw/server.conf b/configs/configs_root_dir/etc/udp2raw/server.conf new file mode 100644 index 0000000..aff3bc8 --- /dev/null +++ b/configs/configs_root_dir/etc/udp2raw/server.conf @@ -0,0 +1,29 @@ +# Basically this file is the equivalent to splitting the command line options into multiple lines +# Each line should contain an option + +# server +-s +# works +#--raw-mode icmp +#--raw-mode easy-faketcp +# default not working at home, works at school +#--raw-mode faketcp +# -l not sure which ip; test shows 127.0.0.1 not working, or maybe need change nftables.conf +-l 89.213.174.92:60711 +# without udpspeeder +-r 127.0.0.1:49432 +# with udpspeeder +#-r 127.0.0.1:53365 +# I use --cipher-mode none so maybe no need a password +# if later on I want to encrypt, need to change this file's mode bit to 600 and switch to cfg -s add this file +# can be generated with `wg genpsk` +#-k + +# https://discord.com/channels/1100649526232092692/1100760493423083560/1270466158730018836 +--cipher-mode none +--auth-mode none +# following two not sure if useful +--fix-gro +--seq-mode 0 + +#--log-level 5 -- cgit 1.4.1