mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Firewall Module - Fix Rules
This commit is contained in:
@@ -50,11 +50,16 @@ enable_reject_policy:
|
|||||||
- iptables: iptables_allow_ssh
|
- iptables: iptables_allow_ssh
|
||||||
- iptables: iptables_allow_pings
|
- iptables: iptables_allow_pings
|
||||||
|
|
||||||
# Delete the RETURN rule
|
# Enable global DOCKER-USER block rule
|
||||||
del_return_rule:
|
enable_docker_user_fw_policy:
|
||||||
iptables.delete:
|
iptables.insert:
|
||||||
|
- table: filter
|
||||||
- chain: DOCKER-USER
|
- chain: DOCKER-USER
|
||||||
- jump: RETURN
|
- jump: DROP
|
||||||
|
- in-interface: '!docker0'
|
||||||
|
- out-interface: docker0
|
||||||
|
- position: 1
|
||||||
|
- save: true
|
||||||
|
|
||||||
# Rules if you are a Master
|
# Rules if you are a Master
|
||||||
{% if grains['role'] == 'so-master' %}
|
{% if grains['role'] == 'so-master' %}
|
||||||
@@ -155,10 +160,3 @@ enable_standard_beats_5044_{{ip}}:
|
|||||||
# Rules if you are a Warm Node
|
# Rules if you are a Warm Node
|
||||||
|
|
||||||
# Some Fixer upper type rules
|
# Some Fixer upper type rules
|
||||||
|
|
||||||
# Enable global DOCKER-USER block rule
|
|
||||||
enable_docker_user_fw_policy:
|
|
||||||
iptables.append:
|
|
||||||
- table: filter
|
|
||||||
- chain: DOCKER-USER
|
|
||||||
- jump: DROP
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@ health:
|
|||||||
threshold: 3
|
threshold: 3
|
||||||
proxy:
|
proxy:
|
||||||
remoteurl: https://registry-1.docker.io
|
remoteurl: https://registry-1.docker.io
|
||||||
|
|
||||||
Reference in New Issue
Block a user