For the openvpn-cloak container, the choice of the transport protocol in the openvpn settings is blocked
This commit is contained in:
parent
ee609f3e8f
commit
d652ecff21
5 changed files with 12 additions and 14 deletions
|
@ -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": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue