Skip to content

Commit

Permalink
andrew
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Nov 22, 2024
1 parent f69b8cf commit 315ef91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/k8s-lb/templates/iptables.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p icmp -j ACCEPT
-A INPUT -d {{ inventory_hostname }}/{{ INTERNAL_NETWORK_RANGE }} -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -d {{ EXTERNAL_LISTEN_IP }}/32 -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -d {{ EXTERNAL_LISTEN_IP }}/32 -p tcp -m tcp --dport 443 -j ACCEPT
Expand Down

0 comments on commit 315ef91

Please sign in to comment.