Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Connect to a SSL-VPN via http/socks5 proxy. [archived since I cannot test the image anymore]

Notifications You must be signed in to change notification settings

Tosainu/docker-fortivpn-socks5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-fortivpn-socks5

Connect to a Fortinet SSL-VPN via http/socks5 proxy.

Usage

NOTE: I only tested this image on Linux-based systems. It might not be working on macOS.

  1. Create an openfortivpn configuration file.

    $ cat /path/to/config
    host = vpn.example.com
    port = 443
    username = foo
    password = bar
    
  2. Run the following command to start the container.

    $ docker container run \
        --cap-add=NET_ADMIN \
        --device=/dev/ppp \
        --rm \
        -v /path/to/config:/etc/openfortivpn/config:ro \
        ghcr.io/tosainu/fortivpn-socks5:master
    
  3. Now you can use SSL-VPN via http://<container-ip>:8443 or socks5://<container-ip>:8443.

    $ http_proxy=http://172.17.0.2:8443 curl http://example.com
    
    $ ssh -o ProxyCommand="nc -x 172.17.0.2:8443 %h %p" [email protected]
    

License

MIT

About

Connect to a SSL-VPN via http/socks5 proxy. [archived since I cannot test the image anymore]

Topics

Resources

Stars

Watchers

Forks

Packages