2020-04-27 23:07:39 +00:00
|
|
|
# __ _____ __
|
|
|
|
# | |\_// \|\ ||_ | _)
|
|
|
|
# |__|/ \\__/| \||__ | __)
|
|
|
|
# Tinc configuration
|
|
|
|
#
|
|
|
|
# This is a configuration file for Lixonet that is already pre-configured for
|
|
|
|
# you. Please refer to your lixonet.conf file for changing parameters.
|
|
|
|
|
Update build.sh, README.md, bird/bird.conf.tmpl, tinc/subnet-down.tmpl, tinc/subnet-up.tmpl, tinc/tinc-up.tmpl, tinc/tinc.conf.tmpl, docker-compose.yml files
Deleted gortr/roas.json, tinc/lixonet/hosts/daltx_nurd_lixo, tinc/lixonet/hosts/denco_mane_lixo, tinc/lixonet/hosts/inwwv_nurd_lixo, tinc/lixonet/hosts/lkwco_mane_lixo, tinc/lixonet/hosts/manva_nurd_lixo, tinc/lixonet/subnet-down.tmpl, tinc/lixonet/subnet-up.tmpl, tinc/lixonet/tinc-up.tmpl, tinc/lixonet/tinc.conf.tmpl, bird/rpki/hosts/denco_mane_lixo, bird/rpki/known_hosts, bird/neighbors/daltx_nurd_lixo, bird/neighbors/denco_mane_lixo, bird/neighbors/glaz_nurd_lixo, bird/neighbors/lkwco_mane_lixo, bird/neighbors/phxaz_nurd_lixo files
2020-05-21 21:22:04 +00:00
|
|
|
Name = ${tinc_peer_name}
|
2020-04-27 23:07:39 +00:00
|
|
|
|
2020-04-27 23:52:39 +00:00
|
|
|
# Do not change these. Lixonet runs over port 9993 by standard.
|
2020-06-26 13:18:18 -06:00
|
|
|
BindToInterface eth0
|
2022-12-21 22:42:47 -07:00
|
|
|
Port = ${tinc_bind_port:-9993}
|
2020-04-27 22:39:47 +00:00
|
|
|
|
Update build.sh, README.md, bird/bird.conf.tmpl, tinc/subnet-down.tmpl, tinc/subnet-up.tmpl, tinc/tinc-up.tmpl, tinc/tinc.conf.tmpl, docker-compose.yml files
Deleted gortr/roas.json, tinc/lixonet/hosts/daltx_nurd_lixo, tinc/lixonet/hosts/denco_mane_lixo, tinc/lixonet/hosts/inwwv_nurd_lixo, tinc/lixonet/hosts/lkwco_mane_lixo, tinc/lixonet/hosts/manva_nurd_lixo, tinc/lixonet/subnet-down.tmpl, tinc/lixonet/subnet-up.tmpl, tinc/lixonet/tinc-up.tmpl, tinc/lixonet/tinc.conf.tmpl, bird/rpki/hosts/denco_mane_lixo, bird/rpki/known_hosts, bird/neighbors/daltx_nurd_lixo, bird/neighbors/denco_mane_lixo, bird/neighbors/glaz_nurd_lixo, bird/neighbors/lkwco_mane_lixo, bird/neighbors/phxaz_nurd_lixo files
2020-05-21 21:22:04 +00:00
|
|
|
# Device is named "${network_name:-lixonet}" by Tinc and visible directly in host kernel
|
2020-04-28 00:58:16 +00:00
|
|
|
DeviceType = ${tinc_device_type:-tap}
|
|
|
|
Device = ${tinc_device:-/dev/net/tun}
|
2023-04-12 21:59:49 -06:00
|
|
|
Mode = ${tinc_mode:-switch}
|
2020-06-21 05:01:27 +00:00
|
|
|
Forwarding = kernel
|
2023-01-02 19:39:55 -07:00
|
|
|
AddressFamily = ${tinc_address_family:-any}
|
2020-04-27 18:09:50 +00:00
|
|
|
|
2020-04-27 23:07:39 +00:00
|
|
|
# Default over-the-wire security for Lixonet.
|
|
|
|
# Blowfish: https://en.wikipedia.org/wiki/Blowfish_(cipher)
|
|
|
|
# SHA1: https://en.wikipedia.org/wiki/SHA-1
|
2024-07-12 12:52:43 -06:00
|
|
|
Cipher = ${tinc_cipher:-aes-256-cbc}
|
2020-04-28 00:58:16 +00:00
|
|
|
Digest = ${tinc_digest:-sha1}
|
2020-04-27 18:09:50 +00:00
|
|
|
|
2020-04-27 23:07:39 +00:00
|
|
|
# When this option is enabled, packets that cannot be sent directly to the
|
2020-04-28 00:58:16 +00:00
|
|
|
# destination node, but which would have to be forwarded by an intermediate node,
|
2020-04-27 23:07:39 +00:00
|
|
|
# are dropped instead. When combined with the IndirectData option, packets for
|
|
|
|
# nodes for which we do not have a meta connection with are also dropped.
|
2020-04-28 00:58:16 +00:00
|
|
|
DirectOnly = ${tinc_direct_only:-yes}
|
2023-04-12 21:19:59 -06:00
|
|
|
|
|
|
|
# High priority for lower latency
|
|
|
|
ProcessPriority = ${tinc_process_priority:-high}
|
2020-04-28 00:55:23 +00:00
|
|
|
|
|
|
|
{{ if len "${tinc_connect_to:-}" }}
|
|
|
|
# Custom connect-to list
|
|
|
|
{{ range "$tinc_connect_to" | split "," }}
|
|
|
|
ConnectTo = {{.}}
|
|
|
|
{{ end }}
|
|
|
|
{{ else }}
|
Update build.sh, README.md, bird/bird.conf.tmpl, tinc/subnet-down.tmpl, tinc/subnet-up.tmpl, tinc/tinc-up.tmpl, tinc/tinc.conf.tmpl, docker-compose.yml files
Deleted gortr/roas.json, tinc/lixonet/hosts/daltx_nurd_lixo, tinc/lixonet/hosts/denco_mane_lixo, tinc/lixonet/hosts/inwwv_nurd_lixo, tinc/lixonet/hosts/lkwco_mane_lixo, tinc/lixonet/hosts/manva_nurd_lixo, tinc/lixonet/subnet-down.tmpl, tinc/lixonet/subnet-up.tmpl, tinc/lixonet/tinc-up.tmpl, tinc/lixonet/tinc.conf.tmpl, bird/rpki/hosts/denco_mane_lixo, bird/rpki/known_hosts, bird/neighbors/daltx_nurd_lixo, bird/neighbors/denco_mane_lixo, bird/neighbors/glaz_nurd_lixo, bird/neighbors/lkwco_mane_lixo, bird/neighbors/phxaz_nurd_lixo files
2020-05-21 21:22:04 +00:00
|
|
|
{{ range files "tinc/hosts" }}{{ if ne . "${tinc_peer_name}" }}{{ if ne . "server" }}
|
2020-04-28 05:24:42 +00:00
|
|
|
ConnectTo = {{.}}
|
2020-04-28 05:46:51 +00:00
|
|
|
{{ end }}{{ end }}{{ end }}
|
2020-04-28 00:55:23 +00:00
|
|
|
{{ end }}
|