2017-10-11 06:52:24 +02:00
|
|
|
# Ansible role network-routing
|
|
|
|
|
|
|
|
Diese Ansible role konfiguriert System Einstellung bzgl. IP Routing.
|
|
|
|
|
|
|
|
- konfiguriert statische Routen (systemd Unit)
|
|
|
|
- Mesh Routen für die Routing Tabelle `mwu`
|
|
|
|
- Blackhole Routes für die Routing Tabellen `internet` + `main`
|
2017-10-13 07:59:43 +02:00
|
|
|
- konfiguriert IP rules (systemd Unit)
|
2017-10-11 06:52:24 +02:00
|
|
|
- konfiguriert sysctl Parameter
|
|
|
|
|
|
|
|
## Benötigte Variablen
|
|
|
|
|
|
|
|
- Dictionary `meshes`
|
2018-02-28 15:20:51 +01:00
|
|
|
|
|
|
|
```
|
2017-10-11 06:52:24 +02:00
|
|
|
meshes:
|
|
|
|
- id: xx
|
|
|
|
...
|
|
|
|
site_name:
|
|
|
|
ipv4_network:
|
2017-10-13 07:59:43 +02:00
|
|
|
ipv6_ula:
|
2017-10-11 06:52:24 +02:00
|
|
|
ipv6_public:
|
2018-02-28 15:20:51 +01:00
|
|
|
```
|
|
|
|
|
2018-09-12 16:30:28 +02:00
|
|
|
- Listen `sysctl_settings_routing_basic` und `sysctl_settings_routing_gateway` (Rollen-Variablen)
|
2018-02-28 15:20:51 +01:00
|
|
|
|
2017-10-11 06:52:24 +02:00
|
|
|
```
|
2018-09-12 16:30:28 +02:00
|
|
|
sysctl_settings_routing_(basic|gateway):
|
2017-10-11 06:52:24 +02:00
|
|
|
- name: # sysctl-Parameter
|
|
|
|
value: # zu setzender Wert
|
|
|
|
...
|
2018-02-28 15:20:51 +01:00
|
|
|
```
|
2018-09-12 16:30:28 +02:00
|
|
|
- Host Variable `ffrl_public_ipv4_nat` # Format ip-adresse/prefix
|
|
|
|
|
|
|
|
- Host Dictionary `ffrl_exit_server`
|
2017-10-11 06:52:24 +02:00
|
|
|
|
|
|
|
- Host Variable `magic`
|
2018-09-12 16:30:28 +02:00
|
|
|
|
2019-03-02 18:10:48 +01:00
|
|
|
- Host Variable `server_type`
|