Connect to a Fortinet SSL-VPN via socks5 proxy.
NOTE: I only tested this image on macOS systems.
-
Create an openfortivpn configuration file.
$ cat /path/to/config OPENCONNECT_URL=[server ip]:[port] OPENCONNECT_USER=foo OPENCONNECT_PASSWORD=bar OPENCONNECT_OPTIONS=--protocol=fortinet --servercert pin-sha256:~~~
-
Run the following command to start the container.
$ docker run \ -it \ -p 1080:1080 \ --env-file=/path/to/config \ ghcr.io/chussum/fortivpn-proxy:main
-
Now you can use SSL-VPN via
socks5://localhost:1080
.
MIT