Let's Start By Doing A cd:

cd /etc/openvpn

Let's Make The Following txt File:

sudo nano auth.txt

(Add Username On The First Line)
(Add Password On The Second Line)

And Save

While Still In The Openvpn Dir:

sudo nano us-sfo.prod.surfshark.com_udp.ovpn #Change Server To The One That Works For You

Add auth.txt To The Following Line:

auth-user-pass

To

auth-user-pass auth.txt

And Save

Let's Rename The File:

sudo mv us-sfo.prod.surfshark.com_udp.ovpn us-sfo.conf

Let's Edit The Following File:

sudo nano /etc/default/openvpn

Add The Following Above #AUTOSTART=“all”:

AUTOSTART=us-nyc.conf #Edit To Match The Server That Is Being Used

And Save

Now Run The To Connect To The VPN:

sudo openvpn us-sfo.conf