Code Monkey home page Code Monkey logo

docker-juniper-vpn's Introduction

I forked this. What I did not like is not enough scripts and if you do it via command line your password shows up in PS -ef.

docker-juniper-vpn

Dockerized juniper vpn connection using:

http://www.infradead.org/openconnect/

https://github.com/jamgocoop/juniper-vpn-py

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 jimb0mbij/juniper-vpn

To test jimb0bmij way

git clone https://github.com/jimb0bmij/docker-juniper-vpn

cd docker-juniper-vpn

docker build -t jimb0mbij/juniper-vpn .

./ivpn.sh (Fill in information requested) After the connection is completed you should see your vpn server ip in the route table and you should be good.

If you wish to test more:

docker exec -it junipervpn bash route ping destination exit

./rvpn.sh (This routes the container to your local machine)

In a new terminal session. route ping destination

When done vpn'in answer yes (to the rvpn.sh script) to stop the routing. docker stop junipervpn

DONE

To Start again:

docker start junipervpn ./rvpn.sh

https://by-example.org/how-to-install-docker-1-8-on-ubuntu-14-04-lts-x64/

docker-juniper-vpn's People

Contributors

jimb0bmij avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.