nikki: sync upstream

last commit: 1c3471135e
This commit is contained in:
gitea-action 2025-04-20 23:00:27 +08:00
parent c53191d246
commit 038c10b27a

View File

@ -139,7 +139,7 @@ table inet nikki {
{% if (length(lan_inbound_device) > 0): %}
elements = {
{% for (let device in lan_inbound_device): %}
{{ device }},
"{{ device }}",
{% endfor %}
}
{% endif %}
@ -440,7 +440,7 @@ table inet nikki {
iifname lo meta l4proto { tcp, udp } meta mark {{ tproxy_fw_mark }} tproxy to :{{ tproxy_port }} counter accept
{% endif %}
{% if (tcp_mode == 'tun' || udp_mode == 'tun'): %}
iifname {{ tun_device }} meta l4proto { icmp, tcp, udp } counter accept
iifname "{{ tun_device }}" meta l4proto { icmp, tcp, udp } counter accept
{% endif %}
}
{% endif %}