OPNsense Forum

English Forums => Virtual private networks => Topic started by: RobLatour on December 09, 2021, 07:42:40 PM

Title: roadwarrior setup not working for me
Post by: RobLatour on December 09, 2021, 07:42:40 PM
I followed the 'Road-Warrior' setup guide here: https://docs.opnsense.org/manual/how-tos/ipsec-road.html

but cannot connect via either an iPad or Android device.   
The iPad says "negotiation with the VPN server failed" while the Android says "unsuccessful"

I have double and triple checked all the settings.

My log says:
2021-12-09T13:24:55   ipsec_starter[66908]       
2021-12-09T13:24:55   ipsec_starter[66908]   routing 'con1' failed   
2021-12-09T13:24:55   ipsec_starter[66908]   charon (69508) started after 20 ms   
2021-12-09T13:24:55   ipsec_starter[4121]   no files found matching '/usr/local/etc/ipsec.opnsense.d/*.conf'   
2021-12-09T13:24:55   ipsec_starter[4121]   Starting weakSwan 5.9.4 IPsec [starter]...   
2021-12-09T13:24:55   opnsense[23351]   /usr/local/sbin/pluginctl: Error: Invalid certificate info for   
2021-12-09T13:24:55   opnsense[23351]   plugins_configure ipsec (execute task : ipsec_configure_do(1))   
2021-12-09T13:24:55   opnsense[23351]   plugins_configure ipsec (1)   
2021-12-09T13:24:55   ipsec_starter[99386]   ipsec starter stopped   
2021-12-09T13:24:55   ipsec_starter[99386]   charon stopped after 200 ms

Not sure if the log is telling me there is a critical error or not?

Any ideas where I may be going wrong?

Title: Re: roadwarrior setup not working for me
Post by: RobLatour on December 10, 2021, 06:57:57 AM
got it to work.

I changed so many things back and forth I'm not sure what it was, but it was most likely my password or shared key containing a special character ( "\" ) and or being miskeyed.