Page 1 of 1

Any explicit-exit-notify alternatives for TCP

Posted: Tue Jan 05, 2016 6:28 am
by hyen56
Ok, I have a script for both connect and disconnect which set is_user_online to =1 if he gets connected/connecting and disconnect to set is_user_online to =0 after he disconnects so he can connect again so the problem is when he get reconnects on TCP his is_user_online is to =1 making him can't connect or get an AUTH_FAILED error while on UDP i believe if explicit-exit-notify is included this make user when reconnects then he push to click the disconnect script.

Is there any recommendations for TCP connection?

Re: Any explicit-exit-notify alternatives for TCP

Posted: Tue Jan 05, 2016 2:22 pm
by Traffic
UDP is a connectionless protocol ..
--explicit-exit-notify is used to notify the server that the client is disconnecting from the VPN.

TCP is a Connection-Oriented protocol ..
There is no requirement for --explicit-exit-notify as the TCP protocol handles the connection state.
hyen56 wrote:after he disconnects so he can connect again so the problem is when he get reconnects on TCP his is_user_online is to =1 making him can't connect
This suggests there is an error in your script.