-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure port forwarding for auditbeat
- Loading branch information
Philipp Boenninghausen
committed
Jan 31, 2025
1 parent
5731755
commit 76c7513
Showing
2 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
- rsyslog_install_ipfire | ||
- rsyslog_ISO8601 | ||
- rsyslog_forwarding | ||
- auditbeat_forwarding |
5 changes: 5 additions & 0 deletions
5
provisioning/ansible/roles/auditbeat_forwarding/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- name: Configure firewall to allow auditbeat on the DMZ (ORANGE) to communicate with the logserver (GREEN) | ||
lineinfile: | ||
path: /var/ipfire/firewall/config | ||
line: "8,ACCEPT,FORWARDFW,ON,std_net_src,ORANGE,std_net_tgt,GREEN,,TCP,,,ON,,,TGT_PORT,9200,Allow elasticsearch log TCP on port 9200 from ORANGE to GREEN,,,,,,,,,,00:00,00:00,,AUTO,,dnat,,,,,second" | ||
state: present |