Page 1 of 1

OpenVPN configuration help on hAP ac²

Posted: Fri Jul 10, 2020 3:13 pm
by lucaghinelli
Hi, I have a hAP ac² (Firmware long term 6.45.9) on which I am trying to configure the VPN server section because I would like to connect from the outside when I am away from home using a simple client
VPN.
I have tried a couple of ways; I have some gaps in understanding certificate generation.
The last guide I followed is this: https://www.medo64.com/2016/12/simple-o ... n-mikrotik.
Following it I came to see that I actually reach the apparatus but the vpn does not connect.
Looking at the log I notice a "duplicate packet / dropping" which I understand would be a very present bug on Mikrotik.
But I think he may have made some mistakes in following the guide and in creating the certificates.
Is there any good soul that can help me? Or at least recommend a different tuotorial ....
Thanks in advance !!

Re: OpenVPN configuration help on hAP ac²

Posted: Sat Jul 18, 2020 6:45 pm
by Hiji56
I hear about some bug when you generate certificate your password must match your "secret".
Moreover need more log. Even deeper then standard log.
On other way may I propose you use IPSEC IKEv2? Nikita Tarikin did about 4 presentation for Mikrortik meetings and there is no pit falls about.

Re: OpenVPN configuration help on hAP ac²

Posted: Mon Jul 20, 2020 12:51 pm
by Svenp
Hi, you can use this Tutorial. --> https://blog.effenberger.org/2019/04/21 ... ment-12910
Important the certs must be trusted

/certificate
set myCa trusted=yes
set server trusted=yes