ocproxy

SOCKS proxy for openconnect

Install

All systems
curl cmd.cat/ocproxy.sh
Debian Debian
apt-get install ocproxy
Ubuntu
apt-get install ocproxy
image/svg+xml Kali Linux
apt-get install ocproxy
Windows (WSL2)
sudo apt-get update sudo apt-get install ocproxy
OS X
brew install ocproxy
Raspbian
apt-get install ocproxy

ocproxy

SOCKS proxy for openconnect

ocproxy is a SOCKS and port-forwarding proxy for use with openconnect. It implements its own userland IP stack, allowing a non-administrator to establish VPN connections without a need for tunnel devices. Instead of adding the host machine to the network at the other end of the VPN, ocproxy listens for local connections and forwards their traffic over the VPN, similar to "ssh -D" and "ssh -L". Web browsers, remote login utilities and other programs can then access resources on the VPN through the proxy. Applications that are unaware of the proxy cannot accidentally send traffic over the VPN, and multiple ocproxy instances may be connected to different VPNs concurrently.