I’m wondering if it’s possible to use the “dietpi-vpn” command in either the “Automation_Custom_Script.sh” or “Automation_Custom_PreScript.sh” script. My goal is to set up my VPN during the installation process.
It looks like the “/etc/openvpn/” directory is only created when the “dietpi-vpn” command is executed. As a result, I’m having trouble placing my VPN profile file, “.ovpn”, in any folder before this directory is created.
Why not create the directory and place the file in the automation_custom scripts? How will you navigate through the multiple screens of dietpi-vpn when you run it from a script?
I just wanted to invoke it, so that all the folders, dependencies etc. is already setup, and I just need to run dietpi-vpn and enter username password…
I like the killswitch that is built-in… that’s why.