diff --git a/scripts/conf/15-iptables.conf b/scripts/conf/15-iptables.conf index 6dca268..ebb87e9 100644 --- a/scripts/conf/15-iptables.conf +++ b/scripts/conf/15-iptables.conf @@ -1,6 +1,6 @@ # Log kernel iptables dropped messages to iptables.log $template MyTemplate,"%$day%-%timegenerated:1:3:date-rfc3164%-%$year% %timegenerated:12:19:date-rfc3339% %HOSTNAME% %syslogtag% %msg%\n" -:msg,contains,"[IPTables-Dropped]:" /var/log/iptables.log;MyTemplate #RSYSLOG_FileFormat +:msg,contains,"[Mistborn-IPTables-Dropped]:" /var/log/iptables.log;MyTemplate #RSYSLOG_FileFormat # Uncomment the following to stop logging anything that matches the last rule. # Doing this will stop logging kernel generated UFW log messages to the file diff --git a/scripts/subinstallers/iptables.sh b/scripts/subinstallers/iptables.sh index 84aada7..b209428 100755 --- a/scripts/subinstallers/iptables.sh +++ b/scripts/subinstallers/iptables.sh @@ -29,7 +29,7 @@ sudo iptables -X MISTBORN_DOCKER_INPUT 2>/dev/null || true # iptables: log and drop chain sudo iptables -N MISTBORN_LOG_DROP -sudo iptables -A MISTBORN_LOG_DROP -m limit --limit 6/min -j LOG --log-prefix "[IPTables-Dropped]: " --log-level 4 +sudo iptables -A MISTBORN_LOG_DROP -m limit --limit 6/min -j LOG --log-prefix "[Mistborn-IPTables-Dropped]: " --log-level 4 sudo iptables -A MISTBORN_LOG_DROP -j DROP # wireguard rules chains @@ -80,7 +80,7 @@ sudo ip6tables -X MISTBORN_LOG_DROP 2>/dev/null || true # ip6tables: log and drop chain sudo ip6tables -N MISTBORN_LOG_DROP -sudo ip6tables -A MISTBORN_LOG_DROP -m limit --limit 6/min -j LOG --log-prefix "[IPTables-Dropped]: " --log-level 4 +sudo ip6tables -A MISTBORN_LOG_DROP -m limit --limit 6/min -j LOG --log-prefix "[Mistborn-IPTables-Dropped]: " --log-level 4 sudo ip6tables -A MISTBORN_LOG_DROP -j DROP # ip6tables