iw4p / OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv

[Script and Docker 🐳] OpenConnect (Cisco AnyConnect) VPN Server (OCServ) script one key easy configurator and installer
255 stars 133 forks source link

Q: Can we set how much device can connect to server with same account at same time? #12

Closed sMohammad14 closed 1 year ago

sMohammad14 commented 1 year ago

Hi can we limit server to 1 username / password that only used by one device at same time? another question, iPhone devices can connect to server with AnyConnect App downloaded from Apple AppStore?

iw4p commented 1 year ago

Hi Yes, inside ocserv.conf you can set your limitation. The default for our script is 2. And answer for the second question is yes, you need AnyConnect application.

Sent from Proton Mail for iOS

On Sun, Oct 16, 2022 at 4:35 PM, Seyed Mohammad @.***> wrote:

Hi can we limit server to 1 username / password that only used by one device at same time? another question, iPhone devices can connect to server with AnyConnect App downloaded from Apple AppStore?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

sMohammad14 commented 1 year ago

thanks for your replay. can you say me how to open that file? i am noob in linux and docker. i can only edit file with nano :D and after edit file, we must do restart docker? how? thanks

iw4p commented 1 year ago

You can clone the project, modify ocserv.conf, search for building docker file and run docker file, do 'docker build' and it will build it the way you need it. And you have to try docker run command with specific parameters, You can read them on README.MD file.