Open xande-er opened 2 years ago
What kind of error? Can you attach screenshot & logs?
In the console it says that it is successfully connected "VPN started successfully.." And in the settings, too, it says that there is a meal, but when you turn on the VPN in other applications, the top is marked with an identifier. After a while (30 seconds) writes that the certificate error. On Android, a similar problem, the connection also does not work. These proxies work, I checked on other resources. So I think the problem is in the plugin, or I'm doing something wrong)
Can you turn on the VPN in settings manually?
Yes, you can also enable it in the settings, but the problem is the same.
I also tried to prescribe proxy settings directly in the emulator. Everything works fine, there is a connection, and the IP has changed.
Maybe someone has faced such a problem, or knows how to solve it ?? I will be grateful for any help.
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 so you need the sertificate, but you can use Let's encrypt like in this article and don't attach it everywhere, only connect by server name/ip, login and pass.
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):
You can use one credential for many users on different ip.
@xande-er
When connecting a VPN to iOS, the connection appears in the settings. When you enter the connection data in the application and click to connect, the connection will appear in the phone settings and the timer will work. Unfortunately, Ip does not change in the browser, but the status bar does not show which connection. And it takes less than a minute, and there is a certificate error in the settings.
What to do in this case?