Hello solo.
Step by step I am moving forward thanks to your hints.
First I failed to connect with the config you provided, the same Error Code 1.
Then I checked Wireshark capture for auto connection and noticed that UDP port was different.
I changed "uint PortUDP" in the config file to the value captured by Wireshark: 38033
I had also to change "string Hostname" to 219.100.37.13 because the old one no longer appear in the VPN Gate server list
And woila! Manual connection established.
Here is my working config:
Code: Select all
declare root
{
bool CheckServerCert false
uint64 CreateDateTime 0
uint64 LastConnectDateTime 0
bool StartupAccount false
uint64 UpdateDateTime 0
declare ClientAuth
{
uint AuthType 1
byte HashedPassword H8N7rT8BH44q0nFXC9NlFxetGzQ=
string Username vpn
}
declare ClientOption
{
string AccountName VPNGATE_UDP2
uint AdditionalConnectionInterval 1
uint ConnectionDisconnectSpan 0
string DeviceName VPN
bool DisableQoS false
bool HalfConnection false
bool HideNicInfoWindow false
bool HideStatusWindow false
string Hostname 219.100.37.13
string HubName VPNGATE
uint MaxConnection 1
bool NoRoutingTracking false
bool NoTls1 false
bool NoUdpAcceleration false
uint NumRetry 4294967295
uint Port 443
uint PortUDP 38033
string ProxyName $
byte ProxyPassword $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
bool RequireBridgeRoutingMode false
bool RequireMonitorMode false
uint RetryInterval 15
bool UseCompress false
bool UseEncrypt true
}
}
Next I tried Auto connection to another server from the list and found that UDP port was different:
Server IP: 219.100.37.55, UDP Port: 18850
I updated these settings in .vpn config file and Manual connection was successful again.
I suppose each server somehow assigns random UDP port for the client
Am I right? If so, how to modify .vpn config file that UDP port could be determined during connection?