Sign inSign up

jamgocoop/juniper-vpn

By jamgocoop

•Updated over 10 years ago

Dockerized juniper vpn connection

Image
8

3.2K

jamgocoop/juniper-vpn repository overview

For the new Pulse Secure vpn, see https://hub.docker.com/r/jamgocoop/pulsesecure-vpn/⁠

⁠docker-juniper-vpn

Dockerized juniper vpn connection using:

This is only a simple implementation to skip browser connect limitations in linux.

⁠How to use this image

docker run --name junipervpn -e JUNIPER_HOST=<host> -e JUNIPER_USER=<user> -e JUNIPER_PASSWORD=<password> --privileged=true -d -ti jamgocoop/juniper-vpn

Once started you can route subnets from host via docker container:

#! /bin/bash
JUNIPER_DOCKER_IP="$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' junipervpn)"
if [ -z "$JUNIPER_DOCKER_IP" ]; then
	echo >&2 'error: missing JUNIPER_DOCKER_IP, is junipervpn docker running?'
	exit 1;
fi
sudo route add -net a.b.c.0 netmask 255.255.255.0 gw $JUNIPER_DOCKER_IP
sudo route add -net x.y.z.0 netmask 255.255.255.0 gw $JUNIPER_DOCKER_IP
...

Tag summary

Content type

Image

Digest

Size

82 MB

Last updated

over 10 years ago

docker pull jamgocoop/juniper-vpn