D
D
Daniil Muidinov2016-10-14 12:19:11
linux
Daniil Muidinov, 2016-10-14 12:19:11

How to set up a VPN server for iOS/Andoid devices on CentOS?

Hello!
Tell me what to choose as a VPN server to which iOS / Andoid clients can connect?
And if there are articles on the basic configuration of the proposed solution.
It is necessary to implement access to the demonstration of the web application in the internal network via VPN for clients with iOS and Android devices.
The application lives on the network 192.168.0.0/24
There is a CentOS 7 machine with
eth0 1.1.1.1 (public IP)
eth1 192.168.0.254 (on the network with the application)
There is no need for encryption It is necessary to be
able to connect several clients using one login / password pair
Also necessary so that they can connect using the standard features of iOS / Andoid devices to connect to the VPN
The application should be available to them immediately after connecting through a browser, for example,
192.168.0.22:8080

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2016-10-14
@karabanov

Try IPsec. In my opinion, this is what you need, since there are native clients in Android and iOS, and even in Windows. Works through NAT. Flexibly configurable. And yes, you can authenticate subscribers in various ways, in particular, by login and password.

C
CityCat4, 2016-10-14
@CityCat4

If only the standard android client is only pptp. IPSec, which is supposedly there, actually does not work - at least I could not pair it with either StrongSwan on Linux or Racoon on Mikrotik - that's all. There are some silly bugs. In addition to the standard one, I also tried TheGreenBow IPSec client - but that one also does not work.
You can install the StrongSwan client on an android - it will work with linux, the option is verified, though I checked it with certificates. I can even share the configs for StrongSwan on the server, the client settings are trivial.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question