X-dea / flutter_vpn

Plugin to access VPN service for Flutter | Flutter 的 VPN 插件
GNU Lesser General Public License v3.0
345 stars 125 forks source link

how can use SSL/TLS host with this library #103

Closed leomedo closed 2 years ago

leomedo commented 2 years ago

I need to make VPN with SSL connection and HTTP payload connection anyone have any information?

vitasha10 commented 2 years ago

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):