https://github.com/wtsi-hgi/openconnect-proxy
Provide an authenticated http proxy that provides connectivity via an OpenConnect VPN client (to connect to a compatible AnyConnect VPN server)
https://github.com/wtsi-hgi/openconnect-proxy
anyconnect docker http-proxy openconnect openconnect-proxy openconnect-vpn-client proxy proxy-server tunnel vpn
Last synced: 1 day ago
JSON representation
Provide an authenticated http proxy that provides connectivity via an OpenConnect VPN client (to connect to a compatible AnyConnect VPN server)
- Host: GitHub
- URL: https://github.com/wtsi-hgi/openconnect-proxy
- Owner: wtsi-hgi
- Created: 2016-09-17T22:15:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-19T18:34:24.000Z (over 6 years ago)
- Last Synced: 2025-06-05T13:50:19.175Z (4 months ago)
- Topics: anyconnect, docker, http-proxy, openconnect, openconnect-proxy, openconnect-vpn-client, proxy, proxy-server, tunnel, vpn
- Language: Shell
- Size: 1.95 KB
- Stars: 14
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
openconnect-proxy docker image
==============================Packages an OpenConnect VPN client with an authenticating HTTP proxy to provide
access to the VPN via the proxy.Example usage:
```
# docker run -it -p 8123:8123 -v /tmp/oc.pw:/tmp/oc.pw -e OPENCONNECT_PASSWORD_FILE=/tmp/oc.pw -e OPENCONNECT_USERNAME=oc_user -e OPENCONNECT_GROUP=oc_group -e OPENCONNECT_HOST=vpn.example.com -e PROXY_USERNAME=puser -e PROXY_PASSWORD=secret quay.io/wtsi-hgi/openconnect-proxy
```Substitute the real values for your AnyConnect VPN credentials in place of oc_user, oc_group, and vpn.example.com; and create a file (in this case `/tmp/oc.pw`) containing the associated password.
While the above container is running, you should be able to use the docker host an http proxy to access resources via the VPN.
For example, you could set an http_proxy environment variable and use wget:
```
# export http_proxy=http://puser:secret@dockerhost.example.com:8123/
# wget http://protectedhost.example.com/
```