about summary refs log tree commit diff
path: root/configs/configs_root_dir/etc/udp2raw
diff options
context:
space:
mode:
Diffstat (limited to 'configs/configs_root_dir/etc/udp2raw')
-rw-r--r--configs/configs_root_dir/etc/udp2raw/client.conf30
-rw-r--r--configs/configs_root_dir/etc/udp2raw/server.conf29
2 files changed, 59 insertions, 0 deletions
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 <password>
+
+# 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 <password>
+
+# 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