Step for adding ufw rules
This commit is contained in:
@@ -85,6 +85,12 @@ step_16() {
|
||||
}
|
||||
CONFIG_REMOTE_DEST="/etc/rsyslog.d/$(basename $CONFIG_REMOTE)"
|
||||
|
||||
step_17_info() { echo "Add ufw rules for sending to remote syslog. Port 514/tcp"; }
|
||||
step_17_alias() { ALIAS="ufw"; }
|
||||
step_17() {
|
||||
exe ufw allow out on eth0 to any port 514 proto tcp comment "syslog remote"
|
||||
}
|
||||
|
||||
step_30_info() { echo "Activating syslog server"; }
|
||||
step_30_alias() { ALIAS="server"; }
|
||||
step_30() {
|
||||
|
Reference in New Issue
Block a user