Create Remote Access VPN

Started by TomT, May 03, 2021, 01:58:57 PM

Previous topic - Next topic
May 03, 2021, 01:58:57 PM Last Edit: May 03, 2021, 02:03:41 PM by TomT
Hi.
I'm trying to setup remote access into my LAN and have had no luck with openVPN or Wireguard.
Currently I have an IPSEC Site to Site VPN setup and a WireGuard VPN to PIA. These work fine.

I'm now trying to allow two users access into the LAN.

With openVPN when I ran through the wizard I got the following error:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function cert_create(), 7 passed in /usr/local/etc/inc/plugins.inc.d/openvpn/wizard.inc on line 631 and exactly 8 expected in /usr/local/etc/inc/certs.inc:212 Stack trace: #0 /usr/local/etc/inc/plugins.inc.d/openvpn/wizard.inc(631): cert_create(Array, '608f2359d911a', '2048', '397', Array, 'sha256', 'server_cert') #1 /usr/local/www/wizard.php(155) : eval()'d code(1): step12_submitphpaction() #2 /usr/local/www/wizard.php(155): eval() #3 {main} thrown in /usr/local/etc/inc/certs.inc on line 212

I re tried and each time got the same error.

So I decided to try wireguard. I've followed this guide: https://www.youtube.com/watch?v=gNyIACWc60w and all seemed well but there was no connection. Looking in the logs I don't even see an attempt to connect. So I've removed the settings and tried again.

Following this guide https://www.youtube.com/watch?v=FglE8aQua5o, I can get so far, but when it shows the auto added WAN rule, that doesn't happen for me and I'm not sure what to add.

Does anyone have a guide to setup either openVPN or WireGuard so I can allow a couple of family members remote access ?

Thanks

I've gone through this again and now its working.
Looks like the issue was between the keyboard & the chair !  :P