Skip to content

Commit

Permalink
Merge pull request #3 from GTeamx/dev
Browse files Browse the repository at this point in the history
Fixed issue when creating TCP config with OpenVPN.
  • Loading branch information
XIII-MC authored Jul 31, 2024
2 parents 36794ba + 720944d commit 2c6aceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_setup.sh
Original file line number Diff line number Diff line change
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/udp/tcp/g' /etc/openvpn/TCP.conf
sed -i 's/proto udp/proto tcp/g' /etc/openvpn/$configName-TCP.conf
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 2c6aceb

Please sign in to comment.