OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: froissgu on August 26, 2017, 10:01:07 am

Title: import .opnvpn
Post by: froissgu on August 26, 2017, 10:01:07 am
Hello World,

How can I import a file .opnvpn in my OpnSense ?
Is there a plugin for this ?

Thank for your help

G.F.
Title: Re: import .opnvpn
Post by: franco on August 26, 2017, 10:13:28 am
Hi froissgu,

There is no such feature. Normally, it's not complicated. You need to import the certificates, set up a client with the settings and maybe paste the remaining incompatible options under "advanced settings".


Cheers,
Franco
Title: Re: import .opnvpn
Post by: froissgu on August 26, 2017, 10:52:50 am
Hi
This is a file .ovpn all the config is merge in one file,
but I can't see what I must use and not use in OpnSense (Capture.PNG & Capture1.PNG)
Is there a tutorial about it ?

G.F.
Title: Re: import .opnvpn
Post by: franco on August 26, 2017, 11:32:54 am
Authority is the block in <ca> </ca> starting with -----BEGIN CERTIFICATE----- and ending with -----END CERTIFICATE-----, you can simply paste the whole block.

The certificate has two blocks in <cert> </cert> also with -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----, then another one in <key> with -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY-----. Both blocks are pasted in the same form.

After that, go back to your OpenVPN client page and select these certificates, fill out the rest of the configuration.


Cheers,
Franco