OpenVPN Tips #
Make OpenVPN automatically connect upon boot #
Make sure to change the OPENVPN_CONFIGFILE
variable
1 2 |
|
Saving OpenVPN Credentials #
- So you wont need to type it every time you connect
- For Username password
- Within the 'OS-90922.ovpn', add the path to you text file containing the openvpn credentials:
1
auth-user-pass /home/kali/VPN/creds.conf
- Simple username the password for the contents of creds.conf. Top is the username, bottom is the password. (i.e. Offensive Security VPN):
1 2
OS-90922 kASme0eHLeI3
- Within the 'OS-90922.ovpn', add the path to you text file containing the openvpn credentials:
- For private key
- Within the 'OS-90922.ovpn', add the path to you text file containing the openvpn credentials:
1
askpass /home/kali/VPN/private_key.conf
- Example contents of /home/kali/VPN/private_key.conf
1
kASme0eHLeI3
- Within the 'OS-90922.ovpn', add the path to you text file containing the openvpn credentials:
Last update: February 22, 2022