changeProxyOpenVPN ( int eachMinutes , string exePathOpenVPN , string default:home_page _pageForConnectionTest , array _dataTabForTest ) : void
How to use
Install your proxy service with OpenVPN, example:
https://nordvpn.com/fr/tutorials/windows-10/openvpn/
In all ovpn files of the config folder, change the line
auth-user-pass
for
auth-user-pass login.conf
The OpenVPN icon must be green with all your configs.
And create a login.conf file with the username in the first line and the password in the second line
Note the OpenVPN executable path and use it in your changeProxyOpenVPN function
Parameters
eachMinutes
The number of minutes between each change.
exePathOpenVPN
The path of the OpenVPN executable.
_pageForConnectionTest (optional)
The page to test the connection.
_dataTabForTest (optional)
The POST data to send to the page to test the connection.