add filter for port forwarding

This commit is contained in:
Kameron Kenny 2024-06-19 08:47:05 -04:00
parent 1ecd1f2d8c
commit fc9067a1e0
No known key found for this signature in database
GPG Key ID: E5006629839D2276
1 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,7 @@ filter f_unifi_bash_history { match("bash" value("PROGRAM")); };
filter f_unifi_fw_lan { match("LAN_" value("PID")); };
filter f_unifi_fw_wan { match("WAN_" value("PID")); };
filter f_unifi_fw_dnat { match("DNAT_" value("PID")); };
filter f_unifi_fw_port_forward_dnat { match("PREROUTING-DNAT" value("PID")); };
filter f_unifi_fw_guest { match("GUEST_" value("PID")); };
filter f_unifi_dnsmasq { match("dnsmasq" value("PID")); };
filter f_unifi_systemd { match("systemd" value("PID")); };
@ -222,6 +223,16 @@ log {
flags(final);
};
log {
source(s_network_udp);
filter(f_unifi_fw_port_forward_dnat);
parser(p_kv);
parser(p_fw_src_ip_geoip2_city);
parser(p_fw_dst_ip_geoip2_city);
destination(d_unifi_firewall);
flags(final);
};
log {
source(s_network_udp);
filter(f_unifi_fw_guest);