Docker Hub: https://hub.docker.com/repository/docker/yulonger/docker-fortivpn-clash-aarch64
Connect to a Fortinet SSL-VPN via http/socks5 proxy.
NOTE: I only tested this image on Linux-based systems.
-
Create an openfortivpn configuration file.
$ cat /path/to/config host = vpn.example.com port = 443 username = foo password = bar
-
Run the following command to start the container.
$ docker container run \ --cap-add=NET_ADMIN \ --device=/dev/ppp \ -p 7891:7891 \ -v /path/to/config:/etc/openfortivpn/config:ro \ yulonger/docker-fortivpn-clash-aarch64:latest
-
Now you can use SSL-VPN via
http://<host-ip>:7891
orsocks5://<host-ip>:7891
.$ http_proxy=http://192.168.1.2:7891 curl http://example.com $ ssh -o ProxyCommand="nc -x 192.168.1.2:7891 %h %p" foo@example.com
@Tosainu‘s docker-fortivpn-socks5 @Dreamacro's clash
MIT