update 2025-04-21 00:24:21

This commit is contained in:
kenzok8 2025-04-21 00:24:21 +08:00
parent 720b3aabe4
commit 6f06bbb4d3
1 changed files with 2 additions and 2 deletions

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 %}