ansible-ffibk/roles/network-iptables-gateway
2017-12-14 06:33:39 +01:00
..
tasks Use package module where possible instead of apt 2017-10-11 17:53:20 +02:00
templates Role network-iptables-gateway: omit dropping invalid packets 2017-12-14 06:33:39 +01:00
vars Add role network-iptables-gateway 2017-10-02 11:18:16 +02:00
README.md Migrate nested dictionary meshes into a list of dictionaries 2017-10-06 22:58:00 +02:00

Ansible role network-iptables-gateway

Diese Ansible role konfiguriert iptables Regeln für IPv4+IPv6 eines Freifunk Gateways.

  • installiert iptables+iptables-persistent
  • schreibt rules.v4 + rules.v6
  • setzt netfilter sysctl parameter

Benötigte Variablen

  • List sysctl_settings_netfilter (Rollen Variable) ´´´ sysctl_settings_netfilter:
    • name: # sysctl-Parameter value: # zu setzender Wert

´´´

  • Dictionary meshes ´´´ meshes:
    • id: xx ... ipv4_network: ...

´´´

  • Variable internet_exit_tcp_mss_ipv4
  • Variable internet_exit_tcp_mss_ipv6
  • Host Variable ffrl_public_ipv4_nat # Format ip-adresse/prefix