summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/iptables/services.j2
blob: b1b7f0f56600fb66ffa300b1d6ef79430a0fccea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# {{ ansible_managed }}
# Do NOT edit this file directly!
#
# direction              protocol     destination port            source port
# (in|out|inout)[46]?    (tcp|udp|..) (port|port:port|port,port)  (port|port:port|port,port)

inout   udp     500    500                              # ISAKMP

in      tcp     {{ ansible_ssh_port|default('22') }}    # SSH

out     tcp     80,443                                  # HTTP/HTTPS
out     udp     53                                      # DNS
out     udp     67                                      # DHCP