Skip to content

Docker image to create a vpn between different cloud providers and location

License

Notifications You must be signed in to change notification settings

chrros95/cloudNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudNet

Docker image to create a vpn between different cloud providers and location

Purpose

The image was build to for connection the ScaleWay locations Paris 1 and Amsterdam 1. The locations are only connected to via the internet so that a cluster communication between the location is not safe. As a result, this little image shall secure the communication by establishing a tinc VPN

Usage

This image requires the following three things

  • a volume with configs The configs must be written as described in the tinc 1.0 docs. There must be a configuration with the netname cloudNet
  • a tun/tap device
  • net_admin capabilities
  • net mode host

Following an example to start a container:

    docker run -d \
        --name tinc \
        --net=host \
        --device=/dev/net/tun \
        --cap-add NET_ADMIN \
        --volume /var/services/cloudnet/volumes/tinc:/etc/tinc \
        chrros95/cloudNet

To use a different name for your VPN change the environment variable NET

Any param hand over is passed to tincd. To start a different network than cloudNet pass the -n <netname>

About

Docker image to create a vpn between different cloud providers and location

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages