Initial commit with basic configurations
This commit is contained in:
parent
d31d58eae4
commit
34519ec52f
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal 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
11
tinc/lixonet/tinc.conf
Normal file
@ -0,0 +1,11 @@
|
||||
Interface = tun0
|
||||
|
||||
Port=9993
|
||||
Device = /dev/tap0
|
||||
DeviceType = tap
|
||||
mode=switch
|
||||
|
||||
Cipher=blowfish
|
||||
digest=sha1
|
||||
|
||||
DirectOnly=yes
|
Loading…
x
Reference in New Issue
Block a user