flutter_vpn icon indicating copy to clipboard operation
flutter_vpn copied to clipboard

Use CA Certificate

Open LastxTemplar opened this issue 3 years ago • 1 comments

Hi, I am trying to connect to NordVPN using this package but it seems it needs a certificate installed. How can that be achieved? For reference this is how NordVPN says you should connect: https://support.nordvpn.com/Connectivity/Android/1133050982/How-to-connect-to-NordVPN-with-IKEv2-IPSec-on-Android.htm

Thank you!

LastxTemplar avatar May 20 '21 15:05 LastxTemplar

@LastxTemplar For this project it was necessary to indicate the certificate was not necessary. The easiest way is to deploy your server using Let's encrypt so that you can log in simply with a username and password. Without a certificate, although in fact it will be used.

To start a suitable server, run or study the script presented in this article Read about Ikev2 as a protocol. It's going throw the SSL. Picture

Don't forget that you must connect with one user. The credentials isn't in /etc/ipsec.sectes (I don't know why), you write them here:

# Enter the domain name of the server directed to the IP address
# use the sslip.io service if you don't have a domain
Hostname for VPN: 123-45-67-89.sslip.io
# VPN username
VPN username: coolguy
# password
VPN password (no quotes, please):

vitasha10 avatar Jun 16 '22 07:06 vitasha10