From 34519ec52fc195b795fcb7ca5a8f3b6ef9a1ec28 Mon Sep 17 00:00:00 2001 From: sump pump Date: Mon, 27 Apr 2020 18:09:50 +0000 Subject: [PATCH] Initial commit with basic configurations --- docker-compose.yml | 26 ++++++++++++++++++++++++++ tinc/lixonet/tinc.conf | 11 +++++++++++ 2 files changed, 37 insertions(+) create mode 100644 docker-compose.yml create mode 100644 tinc/lixonet/tinc.conf diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a794a57 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,26 @@ +version: "3.7" +services: + tinc: + network_mode: host + image: vimagick/tinc + ports: + - "655:655/tcp" + - "655:655/udp" + volumes: + - ./tinc:/etc/tinc + environment: + - RUNMODE=server + - NETNAME=lixonet + cap_add: + - NET_ADMIN + restart: always + bird: + network_mode: host + image: pierky/bird + ports: + - "179:179/tcp" + volumes: + - ./bird:/etc/bird + cap_add: + - NET_ADMIN + restart: always diff --git a/tinc/lixonet/tinc.conf b/tinc/lixonet/tinc.conf new file mode 100644 index 0000000..8ae4da7 --- /dev/null +++ b/tinc/lixonet/tinc.conf @@ -0,0 +1,11 @@ +Interface = tun0 + +Port=9993 +Device = /dev/tap0 +DeviceType = tap +mode=switch + +Cipher=blowfish +digest=sha1 + +DirectOnly=yes