Add iptables for sign, drop no longer needed postfix (it's in base)
This commit is contained in:
parent
b069757484
commit
9c14bd50f2
3 changed files with 13 additions and 1 deletions
12
files/iptables/iptables.sign
Normal file
12
files/iptables/iptables.sign
Normal file
|
@ -0,0 +1,12 @@
|
|||
# {{ ansible_managed }}
|
||||
*filter
|
||||
:INPUT ACCEPT [0:0]
|
||||
:FORWARD ACCEPT [0:0]
|
||||
:OUTPUT ACCEPT [0:0]
|
||||
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||
-A INPUT -p icmp -j ACCEPT
|
||||
-A INPUT -i lo -j ACCEPT
|
||||
-A INPUT -j REJECT --reject-with icmp-host-prohibited
|
||||
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
|
||||
COMMIT
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
freezes: true
|
||||
postfix_group: sign
|
||||
iptables: $files/iptables/iptables.sign
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
- include: $tasks/base.yml
|
||||
- include: $tasks/rkhunter.yml
|
||||
- include: $tasks/motd.yml
|
||||
- include: $tasks/postfix_basic.yml
|
||||
- include: $tasks/sign_setup.yml
|
||||
|
||||
handlers:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue