/docker-f5fpc

F5 VPN Client Docker Router

Primary LanguageShell

F5 VPN client

This Docker image provides the F5 VPN Client, which can be used without local installation. The docker image allows two operating modes:

  • Using F5 VPN client with local installation like a local installed VPN client.
  • Use the running Docker container as router/gateway to avoid VPN split tunneling. In this mode, the only modification to your local system is a route for your VPN subnets to the running Docker container.

Setup

Mac

  • If you want to use the gateway mode: For automatic route setup on Mac you need to install iproute2mac via homebrew.

Start F5 VPN client

VPN client mode (quick)

You don't need to clone this repository. Just start the Docker container with the following command:

docker run --name f5fpc-vpn --net host -it --rm --privileged matthiaslohr/f5fpc /opt/connect.sh

You can check status with:

f5fpc -i

Disconnect:

f5fpc -o

VPN client mode (helper script)

Clone this repository to your favourite place and cd into the directory.

Run

./f5fpc-vpn.sh client

Gateway mode

Clone this repository to your favourite place and cd into the directory.

Run

./f5fpc-vpn.sh gateway

Auto route setup for connecting to a VPN network which uses the 10.0.0.0/8 IP range (needs root add/remove routes):

sudo ./f5fpc-vpn.sh gateway -n 10.0.0.0/8

For more information and options see

./f5fpc-vpn.sh -h