diff --git a/roles/bird/tasks/main.yml b/roles/bird/tasks/main.yml index 4581749..ab01b04 100644 --- a/roles/bird/tasks/main.yml +++ b/roles/bird/tasks/main.yml @@ -3,6 +3,9 @@ - name: Install bird apt: package=bird +- name: Enable IPv6 routing + sysctl: name=net.ipv6.conf.all.forwarding value=1 state=present + - name: Configure bird template: src=bird.conf.j2 dest=/etc/bird/bird.conf notify: Restart bird diff --git a/roles/exit-ipv4/tasks/main.yml b/roles/exit-ipv4/tasks/main.yml index d94bbaf..9a3105e 100644 --- a/roles/exit-ipv4/tasks/main.yml +++ b/roles/exit-ipv4/tasks/main.yml @@ -12,7 +12,7 @@ - name: Enable nf_conntrack during boot lineinfile: dest=/etc/modules line=nf_conntrack -- name: Increas conntrack limit +- name: Increase conntrack limit sysctl: name=net.netfilter.nf_conntrack_max value={{ conntrack_max }} state=present - name: Configure iptables diff --git a/roles/radvd/templates/radvd.conf.j2 b/roles/radvd/templates/radvd.conf.j2 index 3cadda5..a751dd9 100644 --- a/roles/radvd/templates/radvd.conf.j2 +++ b/roles/radvd/templates/radvd.conf.j2 @@ -7,7 +7,7 @@ interface br-{{ site_code }} { AdvOtherConfigFlag on; MaxRtrAdvInterval 200; AdvLinkMTU {{ mtu }}; - prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }} + prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }} { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; diff --git a/site.yml b/site.yml index f7244a8..a0a908a 100644 --- a/site.yml +++ b/site.yml @@ -10,17 +10,17 @@ - name: Setup gateway servers hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net] roles: -# - batman -# - bird -# - fastd -# - mesh-interfaces -# - exit-ipv4 -# - dns + - batman + - bird + - fastd + - mesh-interfaces + - exit-ipv4 + - dns - radvd -# - dhcpd -# - respondd -# - yanic -# - web-gw + - dhcpd + - respondd + - yanic + - web-gw - name: Setup confluence server hosts: confluence.regensburg.freifunk.net