00307bc9be
- add scripts to configure and delete IP rules via a systemd unit - delete role `service-rclocal` - update README.md - add new handler
33 lines
772 B
Markdown
33 lines
772 B
Markdown
# 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`
|
||
- konfiguriert IP rules (systemd Unit)
|
||
- konfiguriert sysctl Parameter
|
||
|
||
## Benötigte Variablen
|
||
|
||
- Dictionary `meshes`
|
||
´´´
|
||
meshes:
|
||
- id: xx
|
||
...
|
||
site_name:
|
||
ipv4_network:
|
||
ipv6_ula:
|
||
ipv6_public:
|
||
´´´
|
||
- List `sysctl_settings_gateway` (Rollen-Variable)
|
||
```
|
||
sysctl_settings_routing:
|
||
- name: # sysctl-Parameter
|
||
value: # zu setzender Wert
|
||
...
|
||
- Host Variable `ffrl_public_ipv4_nat` # Format ip-adresse/prefix
|
||
- Host Dictionary `ffrl_exit_server
|
||
|
||
´´´
|
||
- Host Variable `magic`
|