You can specify the options by directly adding the option in the client certs or by trying this in the custom options of the VPN Server: push "inactive 3600" ![]() So if you wanted to disconnect clients after an hour you could set: inactive 3600Īlternatively you can actually specify the amount of bytes transferred before a timeout is triggered. In any case, OpenVPN's internal ping packets (which are just keepalives) and TLS control packets are not considered "activity", nor are they counted as traffic, as they are used internally by OpenVPN and are not an indication of actual user activity. If the optional bytes parameter is included, exit if less than bytes of combined in/out traffic are produced on the tun/tap device in n seconds. ![]() The default value is 0 seconds, which disables this feature. ![]() The time length of inactivity is measured since the last incoming or outgoing tunnel packet. The following is set by default on OpenVPN: inactive 0Ĭauses OpenVPN to exit after n seconds of inactivity on the TUN/TAP device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |