{"id":28098784,"url":"https://github.com/rmanluo/docker-openconnect-sso","last_synced_at":"2026-02-08T08:04:06.003Z","repository":{"id":213181851,"uuid":"733251413","full_name":"RManLuo/docker-openconnect-sso","owner":"RManLuo","description":"Run your own anyconnect/openconnect VPN client with SSO in Docker.","archived":false,"fork":false,"pushed_at":"2024-11-20T02:11:50.000Z","size":190,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-20T03:18:54.728Z","etag":null,"topics":["anyconnect","docker","openconnec","openconnect-sso"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RManLuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-18T22:51:42.000Z","updated_at":"2024-11-20T02:11:53.000Z","dependencies_parsed_at":"2023-12-19T05:35:42.799Z","dependency_job_id":"e59bfcdc-8436-4433-acb3-2ad00a9f56c2","html_url":"https://github.com/RManLuo/docker-openconnect-sso","commit_stats":null,"previous_names":["rmanluo/docker-anyconnect"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RManLuo%2Fdocker-openconnect-sso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RManLuo%2Fdocker-openconnect-sso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RManLuo%2Fdocker-openconnect-sso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RManLuo%2Fdocker-openconnect-sso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RManLuo","download_url":"https://codeload.github.com/RManLuo/docker-openconnect-sso/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253999900,"owners_count":21997352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anyconnect","docker","openconnec","openconnect-sso"],"created_at":"2025-05-13T17:58:50.054Z","updated_at":"2026-02-08T08:04:00.980Z","avatar_url":"https://github.com/RManLuo.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker-openconnect-sso\n\nRun your own Anyconnect VPN client with SSO in Docker. VPN is running in the container, and a socks5 proxy is exposed to the host machine.   \n[中文教程](https://rman.top/2023/12/20/docker-openconnect-sso/)\n# Run\n\n1. Set up the X11 server on your host machine.\n* [Windows](https://sourceforge.net/projects/vcxsrv/)\n* [MAC](https://www.xquartz.org/)\n\u003e Note: For mac users, please run the following command to allow connections from network clients.\n```bash\nxhost +\n```\n\n2. Run the following command to start the container. \n\nPlease replace the SERVER_NAME and USER_NAME with your own.\n```bash\ndocker run -itd --privileged --name=anyconnect-sso-x11 -v /dev/shm:/dev/shm -v /tmp/.X11-unix:/tmp/.X11-unix -e SERVER_NAME=${SERVER_NAME} -e USER_NAME=${USER_NAME} -e DISPLAY=host.docker.internal:0.0 -p 127.0.0.1:10081:1080 --restart=unless-stopped rmanluo/openconnect-sso-x11:latest\n```\n## Example:\n```bash\ndocker run -itd --privileged --name=anyconnect-sso-x11 -v /dev/shm:/dev/shm -v /tmp/.X11-unix:/tmp/.X11-unix -e SERVER_NAME=vpn.xx.edu -e USER_NAME=xxx@xx.edu -e DISPLAY=host.docker.internal:0.0 -p 127.0.0.1:10081:1080 --restart=unless-stopped rmanluo/openconnect-sso-x11:latest\n```\n\n1. Input your login information in the pop-up window.\n\u003e Note: If no windows are displayed, please check if X11 on your host machine is properly set up.   \n\u003cimg src=\"./resources/login.png\" width = \"500\" align=center /\u003e\n\n2. Complete the 2FA authentication.   \n\u003cimg src=\"./resources/2fa.png\" width = \"500\" align=center /\u003e\n\nIt will open a socks5 proxy on port 10081 on your host machine. You can use it with your browser or other tools.\n\n\n# Build the Image\n\n```bash\ndocker build -t openconnect-sso-x11 .\n```\n# TODO\n* [ ] Add VNC support.\n\n# Thanks\n* [openconnect-sso](https://github.com/vlaci/openconnect-sso)\n* [openconnect](https://www.infradead.org/openconnect/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmanluo%2Fdocker-openconnect-sso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmanluo%2Fdocker-openconnect-sso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmanluo%2Fdocker-openconnect-sso/lists"}