summaryrefslogtreecommitdiff
path: root/roles/configure_iptables
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-16 14:14:00 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-16 14:14:00 +0200
commitb426d1703138aab02da569a5fee22bbbc1de401b (patch)
tree1e5cff1ab8590eada35c7ccb84cd56e7d5fa5bbd /roles/configure_iptables
parentafdc5fe92bee26b9c056428e09b08add81a7ba6d (diff)
enable ipv6 exit via mullvad
Diffstat (limited to 'roles/configure_iptables')
-rw-r--r--roles/configure_iptables/templates/ip6tables.rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/configure_iptables/templates/ip6tables.rules b/roles/configure_iptables/templates/ip6tables.rules
index 5b7a49c..677e074 100644
--- a/roles/configure_iptables/templates/ip6tables.rules
+++ b/roles/configure_iptables/templates/ip6tables.rules
@@ -48,3 +48,10 @@ COMMIT
{% endfor %}
-A FORWARD -o {{ ansible_default_ipv6.interface }} -j REJECT
COMMIT
+*nat
+:PREROUTING ACCEPT [0:0]
+:INPUT ACCEPT [0:0]
+:OUTPUT ACCEPT [0:0]
+:POSTROUTING ACCEPT [0:0]
+-A POSTROUTING -o mullvad -j MASQUERADE
+COMMIT