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