Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OpenVPN client on Linux
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN client on Linux (Read 3389 times)
handydutchguy
Newbie
Posts: 9
Karma: 1
OpenVPN client on Linux
«
on:
September 24, 2018, 05:09:29 am »
Hello all,
I recently set up the openVPN server option following the "Setup SSL VPN Road Warrior" tutorial and it works great using the recommended Viscosity client on a Windows machine.
Connecting from a Linux box however is baffling me. I tried a GUI or the cli option to create a connection. The GUI, as is known, gives very little to no info as to why connection isn't happening. The cli option "openvpn --config [path to .ovpn] file is more descriptive and I'm getting the following output:
$ openvpn --config /home/[user]/VPN.ovpn
Options error: --ca fails with 'OPNsense-udp-1194-ca.crt': No such file or directory (errno=2)
Sun Sep 23 22:01:09 2018 WARNING: cannot stat file 'OPNsense-udp-1194-tls.key': No such file or directory (errno=2)
Options error: --tls-auth fails with 'OPNsense-udp-1194-tls.key': No such file or directory (errno=2)
Options error: Please correct these errors.
Use --help for more information.
Looks to me like the client is asking for a ca cert and tls key? So - what am I missing? Do I need to edit he default client export file? Something else? I can't seem to find the documentation I need to make this work and any help is appreciated.
Thanks in advance for your time.
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: OpenVPN client on Linux
«
Reply #1 on:
September 24, 2018, 08:44:56 am »
Hi there,
How did you set up the connection? If you export a single config file for your client on OPNsense the certificates cannot be bundled with it. What you need to use is a full bundle or export your certificates manually from System: Settings: Trust.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OpenVPN client on Linux