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.
Larz60+ write Jun-25-2021, 07:47 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use bbcode tags on future posts.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use bbcode tags on future posts.