Files
miscellaneous/salt/init.sls
T
2024-08-23 12:30:26 +03:00

44 lines
941 B
YAML+Jinja

{% for ip in [
"54.67.28.63",
"13.56.23.197",
"213.180.204.183",
"151.101.130.132",
"151.101.194.132",
"151.101.2.132",
"151.101.246.132",
"151.101.66.132",
"147.75.85.69",
"217.196.149.55",
"72.32.157.246",
"87.238.57.227",
"104.16.168.120",
"104.16.169.120",
"52.85.49.108",
"52.85.49.128",
"52.85.49.20",
"52.85.49.85",
"18.198.112.44",
"18.198.212.80",
"146.59.69.202"
] %}
remove_ip_{{ ip.replace('.', '_') }}_output:
iptables.delete:
- table: filter
- chain: OUTPUT
- destination: {{ ip }}
- jump: REJECT
remove_ip_{{ ip.replace('.', '_') }}_forward:
iptables.delete:
- table: filter
- chain: FORWARD
- destination: {{ ip }}
- jump: REJECT
remove_ip_{{ ip.replace('.', '_') }}_docker_user:
iptables.delete:
- table: filter
- chain: DOCKER-USER
- destination: {{ ip }}
- jump: REJECT
{% endfor %}