Giter VIP home page Giter VIP logo

vpn-cifs's Introduction

Mount samba shares behind VPN in docker

This demo can be run with docker

It contains two important services:

  • vpn - this is a service responsible of connecting to the VPN
  • jumper - this is the machine that mounts the local share behind the vpn

In order to test it, please copy .env.example to .env and assign the correct values to the variables

Currently the demo requires the following variables:


VPN_SERVER=EXAMPLE_VPN_SERVER                                           # This is the VPN server URL
VPN_USER=EXAMPLE_VPN_USER                                               # This is the VPN user
VPN_PASSWORD=EXAMPLE_VPN_PASSWORD                                       # This is the VPN user password
VPN_GROUP=EXAMPLE_VPN_GROUP                                             # The group that the VPN user belongs to
VPN_CERT_HASH=EXAMPLE_VPN_CERT_HASH                                     # Certificate hash to be trusted by openconnect

NETWORK_SHARE_HOST=EXAMPLE_NETWORK_SHARE_HOST                           # Network share (behind vpn) host, alias or IP
NETWORK_SHARE_DIRECTORY=EXAMPLE_NETWORK_SHARE_DIRECTORY                 # Network share (behind vpn) folder
NETWORK_SHARE_PASSWORD=EXAMPLE_NETWORK_SHARE_PASSWORD                   # Password for the network share - it can be the same as the vpn user password
NETWORK_SHARE_USER=EXAMPLE_NETWORK_SHARE_USER                           # User for the network share - it can be the same as the vpn user
NETWORK_SHARE_DOMAIN=EXAMPLE_NETWORK_SHARE_DOMAIN                       # Domain of the samba share - it can be the same as the vpn group

vpn-cifs's People

Contributors

dorucioclea avatar

Watchers

 avatar  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.