OPNsense Forum

English Forums => General Discussion => Topic started by: xames on September 30, 2019, 10:59:46 PM

Title: VPN ROAD WARRIOR CONFIGURATION
Post by: xames on September 30, 2019, 10:59:46 PM
I'm trying to deploy VPN Basic with roadwarrior to connect to my business, i follow step by step the tutorial but doesn't work, is any issue with that? i have all upgraded and last firmware.

My client vpn is viscosity and my laptop macbookpro.

I configure step by step all three times... but nothing.
Title: VPN ROAD WARRIOR CONFIGURATION
Post by: Silver77 on September 30, 2019, 11:05:13 PM
Try with your smartphone... use openvpn app...
So you understand if is a configuration problem or client problem


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: VPN ROAD WARRIOR CONFIGURATION
Post by: xames on October 01, 2019, 10:11:28 PM
Ok thanks i would try.
Title: Re: VPN ROAD WARRIOR CONFIGURATION
Post by: xames on October 01, 2019, 10:26:02 PM
I can't find any export file for openvpn for ios. Maybe in previous versions but not in the latest, how to import then?

My error with simple ip direction on openvpn is:

"there was an error attempting to connect to the selected server openvpn"
Title: Re: VPN ROAD WARRIOR CONFIGURATION
Post by: bartjsmit on October 02, 2019, 08:28:57 AM
Does the tunnel get established and can you ping the firewall tunnel IP from the client? What about the firewall LAN IP?

I've found Tunnelblick easier to use and definitely cheaper than Viscosity. https://tunnelblick.net

To download the ovpn file for a user, go to VPN, OpenVPN, Client export and click the cloud icon after the user name.

Bart...
Title: Re: VPN ROAD WARRIOR CONFIGURATION
Post by: Silver77 on October 02, 2019, 07:04:32 PM
Quote from: xames on October 01, 2019, 10:26:02 PM
I can't find any export file for openvpn for ios. Maybe in previous versions but not in the latest, how to import then?

My error with simple ip direction on openvpn is:

"there was an error attempting to connect to the selected server openvpn"
I use iPhone 7 and Just work
You need export the ovpn file
if you send it by mail, when you click on it, it will ask you which application to open it with.  select openvpn
Title: Re: VPN ROAD WARRIOR CONFIGURATION
Post by: xames on October 08, 2019, 08:36:03 PM
(https://uploads.tapatalk-cdn.com/20191008/9742b4bab364f253dca384e1dfe9f729.jpg)


Enviado desde mi iPhone utilizando Tapatalk
Title: Re: VPN ROAD WARRIOR CONFIGURATION
Post by: banym on October 08, 2019, 09:51:18 PM
Hi,

what export type have you selected?
Was it "Archive" ?

You need to select "File only"

It looks like you only took the .ovpn file from the archive format. This can't work because it refers to the certificate file.

With the "File only" format it has everything inline and should work.
Title: Re: VPN ROAD WARRIOR CONFIGURATION
Post by: xames on October 10, 2019, 10:15:03 PM
It works import on Mobile, but Now says "There was an error attempting to connect to the selected server"
Title: Re: VPN ROAD WARRIOR CONFIGURATION
Post by: banym on October 10, 2019, 11:03:02 PM
Check the configuration file.
Maybe you have the wrong server IP in the configuraiton.

This can happen if you have your firewall behind a router and you did not select the correct IP or hostname for configuration export.

You can edit the server ip in the configuration and import it again. Maybe this helps.

If not please post the output of your client if it has a log.