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

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

adding domain and with cert #38

Open imanYazizi opened 1 year ago

imanYazizi commented 1 year ago

hi is it possible to add domain in docker install and use domain instead of ip add? and it would be great if you add more features to it tnx!

iw4p commented 1 year ago

Hello, Why you don't point your domain to your IP and use it normally?

imanYazizi commented 1 year ago

Hi again I wanted to use this method cuz its more secure and the transmited data will go through ssl I saw it on another github project and i thought its the one thing that yours is missing If you want i send that project link And btw do you have any solution to connect ocserv using mobile ISPs?

On Sat, Jun 24, 2023, 23:25 Nima Akbarzadeh @.***> wrote:

Hello, Why you don't point your domain to your IP and use it normally?

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1605708315, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEIJLJWAPHU57NL5ULDXM5A33ANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1605708315 @github.com>

iw4p commented 1 year ago

Sure, I'd be happy if you share the link. Moving to the next question, still NO, and I can say, currently I do not have server and time to work on it honestly.

imanYazizi commented 1 year ago

Hi again https://github.com/B-andi-T/Openconnect-installer-Full-Management-Menu This was the link i talked about I guess you can use some parts of it in your project And for my 2nd question I got it if i found a way i inform you too

On Sun, Jun 25, 2023, 16:03 Nima Akbarzadeh @.***> wrote:

Sure, I'd be happy if you share the link. Moving to the next question, still NO, and I can say, currently I do not have server and time to work on it honestly.

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1606067086, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEMAC2P4GHTJ4EDGD2TXNAVYTANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1606067086 @github.com>

iw4p commented 1 year ago

Thank you for sharing, I'll take a look at it. And one more question, May I know what is wrong with that repo? I mean if It works fine then why should I implement it? (Just asking)

imanYazizi commented 1 year ago

You know The problem with that project is its npt dockerized And the script needs to be modified And the worst part is the web ui they offer looks like broken And i thought that you can empower your project using that wasted potentioal that the other project has I tried contacting with its developers but i got nada I think it would be awsome if you develop and expand your project

On Tue, Jun 27, 2023, 13:34 Nima Akbarzadeh @.***> wrote:

Thank you for sharing, I'll take a look at it. And one more question, May I know what is wrong with that repo? I mean if It works fine then why should I implement it? (Just asking)

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1609193922, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEK4G7NW53CSXEJEQ2TXNKV4VANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1609193922 @github.com>

iw4p commented 1 year ago

I see. I'll add it to the To-Do list.

imanYazizi commented 1 year ago

Good:) If you need any help I'd be glad to help

On Tue, Jun 27, 2023, 17:07 Nima Akbarzadeh @.***> wrote:

I see. I'll add it to the To-Do list.

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1609523656, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEMEJNPBCX5RB3R72CDXNLOZTANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1609523656 @github.com>

iw4p commented 1 year ago

If you have experience or even a server and domain, it can be very helpful. Because currently, I have none of them. You can contact me via iw4p@protonmail.com

imanYazizi commented 1 year ago

I will ask bunch of contacts to see they have server or not cuz for now i dont have it too And in which part you need experiance?

On Tue, Jun 27, 2023, 18:50 Nima Akbarzadeh @.***> wrote:

If you have experience or even a server and domain, it can be very helpful. Because currently, I have none of them. You can contact me via @.***

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1609732738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSELD3N57BAOMNZJCP6LXNL25JANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1609732738 @github.com>

iw4p commented 1 year ago

Thank you. Docker and bash script (A little bit about what is going on the bash script, how it uses nginx and ...)

imanYazizi commented 1 year ago

actually i have some experience but idk it will help or not and i ask one of my friends to lend you a server he will inform me by the end of week

On Thu, Jun 29, 2023 at 2:51 PM Nima Akbarzadeh @.***> wrote:

Thank you. Docker and bash script (A little bit about what is going on the bash script, how it uses nginx and ...)

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1612938767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEJMOTCMSD6AL3JSKRLXNVQNDANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1612938767 @github.com>

imanYazizi commented 1 year ago

Hi again:) There is a bizzare problem at the connection And the client gets disconnected after a while is there specific timing for that in config?

On Thu, Jun 29, 2023, 14:51 Nima Akbarzadeh @.***> wrote:

Thank you. Docker and bash script (A little bit about what is going on the bash script, how it uses nginx and ...)

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1612938767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEJMOTCMSD6AL3JSKRLXNVQNDANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1612938767 @github.com>

iw4p commented 1 year ago

Hi Check this issue.

imanYazizi commented 1 year ago

How can i Set auth-timeout = 86400 in ocserv.conf in docker?

On Mon, Jul 3, 2023, 16:49 Nima Akbarzadeh @.***> wrote:

Hi Check this https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/17 issue.

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1618248938, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEP4QCTTI7GEIKJQ7ODXOLBH5ANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1618248938 @github.com>

iw4p commented 1 year ago

The easiest way to do this is forking this repo for yourself. After that, add your customization and finally you can install it but from your URL so the only thing is that you have to do docker installation but instead of docker build -t ocserv https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv.git, use your own repo URL and it will fetch the data and configs from your repo.

imanYazizi commented 1 year ago

I found out whats going on that makes ocserv disconnect after 4min Apparently there is an env that is set to 240 seccond and you should change it to 0 for unlimited

On Tue, Jul 4, 2023, 01:39 Nima Akbarzadeh @.***> wrote:

The easiest way to do this is forking this repo for yourself. After that, add your customization and finally you can install it but from your URL so the only thing is that you have to do docker installation but instead of docker build -t ocserv https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv.git, use your own repo URL and it will fetch the data and configs from your repo.

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1619203950, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEPRSBLANA44JXYIBV3XOM7IVANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1619203950 @github.com>

iw4p commented 1 year ago

What's the name of the ENV?

imanYazizi commented 1 year ago

Its auth-timeout I just increased the number i dont what will happen if i disable it

On Tue, Jul 11, 2023, 18:11 Nima Akbarzadeh @.***> wrote:

What's the name of the ENV?

— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38#issuecomment-1630959911, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEK7MPIMXM3BKGITJ2TXPVQ2NANCNFSM6AAAAAAZSKSRGA . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/38/1630959911 @github.com>