mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
Merge pull request #165 from amnezia-vpn/bugfix/cloak-transport-protocol
bugfix/cloak-transport-protocol
This commit is contained in:
@@ -43,7 +43,7 @@ QString CloakConfigurator::genCloakConfig(const ServerCredentials &credentials,
|
|||||||
config.insert("StreamTimeout", 300);
|
config.insert("StreamTimeout", 300);
|
||||||
|
|
||||||
// transfer params to protocol runner
|
// transfer params to protocol runner
|
||||||
config.insert(config_key::transport_proto, "$OPENVPN_TRANSPORT_PROTO");
|
config.insert(config_key::transport_proto, "tcp");
|
||||||
config.insert(config_key::remote, credentials.hostName);
|
config.insert(config_key::remote, credentials.hostName);
|
||||||
config.insert(config_key::port, "$CLOAK_SERVER_PORT");
|
config.insert(config_key::port, "$CLOAK_SERVER_PORT");
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
client
|
client
|
||||||
dev tun
|
dev tun
|
||||||
proto $OPENVPN_TRANSPORT_PROTO
|
proto tcp
|
||||||
resolv-retry infinite
|
resolv-retry infinite
|
||||||
nobind
|
nobind
|
||||||
persist-key
|
persist-key
|
||||||
|
|||||||
Reference in New Issue
Block a user