Skip to content

Commit

Permalink
add nat46 in gluon
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed Sep 7, 2019
1 parent 91f55c3 commit d3312c1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ remote_user = root
nocows = 1
gathering = smart
ansible_managed = 'Ansible managed'
vault_password_file = ./scripts/open.sh
vault_password_file = ./scripts/open.sh

[ssh_connection]
pipelining = true
2 changes: 1 addition & 1 deletion hosts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#!/usr/bin/env python2

from sys import path
path.append("lib")
Expand Down
4 changes: 4 additions & 0 deletions roles/babeld/templates/interfaces
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ iface {{ babel_bridge }} inet6 static
pre-down ip -6 rule del to {{ ipv6_babelmesh_network }} table {{ ffhb_routing_table }} priority 16385
post-up ip -6 rule add to {{ ipv6_babelclient_network }} table {{ ffhb_routing_table }} priority 16385
pre-down ip -6 rule del to {{ ipv6_babelclient_network }} table {{ ffhb_routing_table }} priority 16385
post-up ip -6 rule add to fd2f:5119:f2c:624::/48 table {{ ffhb_routing_table }} priority 16385
pre-down ip -6 rule del to fd2f:5119:f2c:624::/48 table {{ ffhb_routing_table }} priority 16385
post-up ip -6 rule add from {{ ipv6_babelmesh_network }} table {{ ffhb_routing_table }} priority 16385
pre-down ip -6 rule del from {{ ipv6_babelmesh_network }} table {{ ffhb_routing_table }} priority 16385
post-up ip -6 rule add from {{ ipv6_babelclient_network }} table {{ ffhb_routing_table }} priority 16385
pre-down ip -6 rule del from {{ ipv6_babelclient_network }} table {{ ffhb_routing_table }} priority 16385
post-up ip -6 rule add from fd2f:5119:f2c:624::/48 table {{ ffhb_routing_table }} priority 16385
pre-down ip -6 rule del from fd2f:5119:f2c:624::/48 table {{ ffhb_routing_table }} priority 16385

post-up ip -r r add {{ babel_ipv6_mesh.address }}/128 dev $IFACE proto 159 table {{ ffhb_routing_table }}
4 changes: 2 additions & 2 deletions roles/unbound/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
dns_root_hints: http://www.internic.net/domain/named.cache
nat64: "64:ff9b::/96"
#nat64: "64:ff9b::/96"
# http://www.trex.fi/2011/dns64.html
# nat64: "2001:67c:2b0:db32:0:1::/96"
unbound_nat64_pool: "{{ nat64 }}"
#unbound_nat64_pool: "{{ nat64 }}"
2 changes: 1 addition & 1 deletion roles/unbound/templates/modules.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
{% if babel %}
{% if unbound_nat64_pool is defined %}
module-config: "dns64 validator iterator"
dns64-prefix: {{ unbound_nat64_pool }}
{% else %}
Expand Down

0 comments on commit d3312c1

Please sign in to comment.