Skip to content

Commit

Permalink
Merge pull request #4 from GTeamx/dev
Browse files Browse the repository at this point in the history
Fixed TCP config for clients not working on OpenVPN
  • Loading branch information
XIII-MC authored Jul 31, 2024
2 parents 2c6aceb + 13fa74b commit b534c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auto_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo " ██████╗████████╗███████╗
╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ [SRV-$serverID]"

echo ""
echo "*====================* GTeam's Host Setup Script (HSS) v0003 (30/07/2024) *====================*"
echo "*====================* GTeam's Host Setup Script (HSS) v0004 (31/07/2024) *====================*"

# What should we do???!
echo "*==========* What would you like to do today ?"
Expand Down Expand Up @@ -263,7 +263,7 @@ elif [[ $mode == 5 ]]; then
touch /root/$configName.ovpn

sed -i 's/1194/443/g' /root/$configName-TCP.ovpn
sed -i 's/proto udp/proto tcp/g' /etc/openvpn/$configName-TCP.conf
sed -i 's/proto udp/proto tcp/g' /root/$configName-TCP.ovpn
sed -i 's/dev tun/dev tun_tcp/g' /root/$configName-TCP.ovpn
sed -i 's/AES-128-GCM/CHACHA20-POLY1305/g' /root/$configName-TCP.ovpn

Expand Down

0 comments on commit b534c7f

Please sign in to comment.