From 1b4706a36f5a064442c2e9f7792054f1d403808c Mon Sep 17 00:00:00 2001 From: James Kafader Date: Thu, 6 Apr 2017 14:21:33 -0700 Subject: [PATCH] respect dns port --- tasks/iptables.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/iptables.yml b/tasks/iptables.yml index 82f1e661..ca929993 100644 --- a/tasks/iptables.yml +++ b/tasks/iptables.yml @@ -13,7 +13,7 @@ match: udp destination_port: 53 jump: REDIRECT - to_ports: 8600 + to_ports: "{{consul_dns_port}}" - name: Redirect local DNS (2/4) iptables: @@ -23,7 +23,7 @@ match: tcp destination_port: 53 jump: REDIRECT - to_ports: 8600 + to_ports: "{{consul_dns_port}}" - name: Redirect local DNS (3/4) iptables: @@ -33,7 +33,7 @@ match: udp destination_port: 53 jump: REDIRECT - to_ports: 8600 + to_ports: "{{consul_dns_port}}" destination: localhost - name: Redirect local DNS (4/4) @@ -44,6 +44,6 @@ match: tcp destination_port: 53 jump: REDIRECT - to_ports: 8600 + to_ports: "{{consul_dns_port}}" destination: localhost \ No newline at end of file