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?
Any explicit-exit-notify alternatives for TCP
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Jan 05, 2016 6:25 am
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Any explicit-exit-notify alternatives for TCP
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.
--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.
This suggests there is an error in your script.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