update master #22

Merged
claudiomaradonna merged 2 commits from claudiomaradonna/configurations:master into master 2022-08-31 17:56:01 +02:00
2 changed files with 18 additions and 0 deletions
Showing only changes of commit 9de95d45d5 - Show all commits

View file

@ -22,6 +22,15 @@ write_files:
permissions: 0644 permissions: 0644
owner: root:root owner: root:root
content: | content: |
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -i eth0 -p tcp -m tcp --dport 2222 -j DROP
COMMIT
*filter *filter
:INPUT DROP [0:0] :INPUT DROP [0:0]
:FORWARD DROP [0:0] :FORWARD DROP [0:0]

View file

@ -23,6 +23,15 @@ write_files:
permissions: 0644 permissions: 0644
owner: root:root owner: root:root
content: | content: |
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -i eth0 -p tcp -m tcp --dport 2222 -j DROP
COMMIT
*filter *filter
:INPUT DROP [0:0] :INPUT DROP [0:0]
:FORWARD DROP [0:0] :FORWARD DROP [0:0]