feat: update obfuscation Jc

This commit is contained in:
Slava-Shchipunov
2024-11-01 20:33:27 +07:00
parent 9754708fc1
commit 2524e08096

View File

@@ -6,7 +6,6 @@ wg_awg_setup() {
CONFIG_NAME="wireguard_wg0" CONFIG_NAME="wireguard_wg0"
PROTO="wireguard" PROTO="wireguard"
ZONE_NAME="wg" ZONE_NAME="wg"
CONFIG_TYPE="wg"
fi fi
if [ "$PROTOCOL_NAME" = 'AmneziaWG' ]; then if [ "$PROTOCOL_NAME" = 'AmneziaWG' ]; then
@@ -55,7 +54,7 @@ wg_awg_setup() {
read -r -p "Enter H4 value (from [Interface]):"$'\n' AWG_H4 read -r -p "Enter H4 value (from [Interface]):"$'\n' AWG_H4
elif [ "$CONFIG_TYPE" = '2' ]; then elif [ "$CONFIG_TYPE" = '2' ]; then
#Default values to wg automatic obfuscation #Default values to wg automatic obfuscation
AWG_JC=3 AWG_JC=4
AWG_JMIN=40 AWG_JMIN=40
AWG_JMAX=70 AWG_JMAX=70
AWG_S1=0 AWG_S1=0