I installed sudo apt-get install network-manager-openvpn-gnome -y then I imported the my-openvpn-server.ovpn file like this: sudo nmcli connection import type openvpn file my-openvpn-server.ovpn shows this Connection 'my-openvpn-server' (7f1bsds36-daa1-4sdd-8bdd-37ff4sdsf6e3b) successfully added.

so then to connect to the vpn server on my raspberry pi I run the command:

openvpn my-openvpn-server.ovpn which prompts for password and gets connected, but I want automatically connect on the startup and without password prompt.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.