Sign inSign up

vaayne/docker-forticlient-proxy

By vaayne

•Updated almost 6 years ago

https://github.com/Vaayne/docker-forticlient

Image
0

293

vaayne/docker-forticlient-proxy repository overview

⁠forticlient

Connect to a FortiNet VPNs through docker

I don't want to keep the fortiClient running, so the docker container can help the OS light.

Add an proxy is for I can control the traffic more flexiable.

⁠Usage

The container uses the forticlientsslvpn_cli linux binary to manage ppp interface

All of the container traffic is routed through the VPN, so you can in turn route host traffic through the container to access remote.

⁠envs

forticlientsslvpn config:

  • VPNADDR
  • VPNUSER
  • VPNPASS

http proxy config:

  • PROXY_USER
  • PROXY_PASS
⁠Command to run

If don't need auth for proxy, just run

docker run -it --rm \
  --privileged \
  -p 18388:18388 \
  -e VPNADDR=host:port \
  -e VPNUSER=me@domain \
  -e VPNPASS=secret \
  vaayne/docker-forticlient-proxy

If need auth for proxy, set PROXY_USER and PROXY_PASS env.

docker run -it --rm \
  --privileged \
  -p 18388:18388 \
  -e VPNADDR=host:port \
  -e VPNUSER=me@domain \
  -e VPNPASS=secret \
  -e PROXY_USER=user \
  -e PROXY_PASS=passwd \
  vaayne/docker-forticlient-proxy
⁠Connect the vpn

expoxt HTTP Proxy

export http_proxy=http://localhost:18388/
export https_proxy=https://localhost:18388/

⁠Thanks

⁠https://hadler.me⁠

for hosting up to date precompiled binaries which are used in this Dockerfile.

⁠docker-forticlient⁠

Origin fork repo.

⁠gost⁠

gost use as proxy server.

Tag summary

Content type

Image

Digest

Size

64.9 MB

Last updated

almost 6 years ago

docker pull vaayne/docker-forticlient-proxy