For the openvpn-cloak container, the choice of the transport protocol in the openvpn settings is blocked

This commit is contained in:
vladimir.kuznetsov 2023-01-29 08:39:31 +03:00
parent ee609f3e8f
commit d652ecff21
5 changed files with 12 additions and 14 deletions

View file

@ -1,6 +1,6 @@
cat > /opt/amnezia/openvpn/server.conf <<EOF
port $OPENVPN_PORT
proto $OPENVPN_TRANSPORT_PROTO
proto tcp
dev tun
ca /opt/amnezia/openvpn/ca.crt
cert /opt/amnezia/openvpn/AmneziaReq.crt
@ -39,7 +39,7 @@ cat > /opt/amnezia/cloak/ck-config.json <<EOF
{
"ProxyBook": {
"openvpn": [
"$OPENVPN_TRANSPORT_PROTO",
"tcp",
"localhost:$OPENVPN_PORT"
],
"shadowsocks": [