Skip to content

Commit

Permalink
respect dns port
Browse files Browse the repository at this point in the history
  • Loading branch information
James Kafader committed Apr 6, 2017
1 parent f034d30 commit 1b4706a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/iptables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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)
Expand All @@ -44,6 +44,6 @@
match: tcp
destination_port: 53
jump: REDIRECT
to_ports: 8600
to_ports: "{{consul_dns_port}}"
destination: localhost

0 comments on commit 1b4706a

Please sign in to comment.