Initial commit with basic configurations

This commit is contained in:
sump pump 2020-04-27 18:09:50 +00:00
parent d31d58eae4
commit 34519ec52f
2 changed files with 37 additions and 0 deletions

26
docker-compose.yml Normal file
View File

@ -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

11
tinc/lixonet/tinc.conf Normal file
View File

@ -0,0 +1,11 @@
Interface = tun0
Port=9993
Device = /dev/tap0
DeviceType = tap
mode=switch
Cipher=blowfish
digest=sha1
DirectOnly=yes