Hi Ovpn users...
Because I receive many "Unknown error NETWORK_RECV" errors while first connecting the only way to get around this is to connect multiple times. I'm getting tired of pushing the connect buttons really fast with my fingers so I'm trying to reduce the reconnect delay from the default 5 seconds to something like 1-2 seconds.
I read in the online documentation about the command "connect-retry n"
--connect-retry n
For --proto tcp-client, take n as the number of seconds to wait between connection retries (default=5).
I put this in my ovpn script above the resolv-retry infinite command and I still got a 5 second delay. I tried n=1,2,3 and it's still 5. (I am using tcp protocol.. i tried proto tcp and proto tcp-client)
connect-retry 1
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
auth-user-pass
If anyone knows what is the best cipher/auth of other config for China please do let me know. I'm using softether on the server but android OpenVPN on my phone.
Cheers /a
Changing connect retry delay with connect-retry n command doesn't work for me
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed Dec 13, 2017 1:49 am