How to create a openvpn client connection , when you only have a ovpn file

Started by Madifor, October 27, 2024, 06:14:17 PM

Previous topic - Next topic
I am working on replacing a soho router to a opensense router/firewall ... The problem i have at this moment to configure the openvpn client section correctly to connect to the openvpn server.

So in the previous setup it was an easy job by just import the .ovpn file from the remote openvpn, currently i am stuck to configure this under the openvpn client section in opensense...

The ovpn file has the ca certificate and ofcourse the various options

Any help is apriciated

regards

eddy

You will have to configure the client in the GUI manually.

First copy the CA cert from the config file and paste it in System: Trust: Authorities: Add, Method: Import an existing CA >  Certificate data

Do the same with the client cert, but on the Certificate page. Here you have also to insert the clients private key.

Then go through the client configuration steps.

On the destination device ( ASus router) , i cant create a user based ovpn file, just a general one.
From ovpn config page (of this router) able to get the the Ca certificate and the private key ... but that as said not user specific.. selected this peer ca..
When enabeling the config it get to waiting state... cant get any further it is definitely a mismatch with ovpn file which is normally used by ovpn client... .. When i use this file on a windows client or openvpn client on my phone i get connected without any issues..