Jun-25-2021, 07:17 PM
I am very new to Python and I would like to wright a script to allow openVpn to open a connection buy a customer number and pull the site key from a folder with the correct customer.
looking over all option they said i should just start over with python. not sure where to start
Any and all help would be appreciated. I can get old C# files if needed.
#Open VPN exe file loction# ovpne= "c:\program files\OpenVPN\OpenVPN.exe" #OpenVPN config file loction# ovpnc= "c:\users\client.ovpn" #List of sites# site= 0001, sitename, siteIP, Port 1194 pull keys from c:\customer\0001\keys site= 0002, sitename, siteIP, Port 1194 pull keys from c:\customer\0002\keys site= 0002, sitename, siteIP, Port 1194 pull keys from c:\customer\0003\keysA coworker wrote a program in C# But it does not pull new keys always the same key from a text file.
looking over all option they said i should just start over with python. not sure where to start
Any and all help would be appreciated. I can get old C# files if needed.