update 2025-04-21 00:24:21
This commit is contained in:
parent
720b3aabe4
commit
6f06bbb4d3
|
@ -139,7 +139,7 @@ table inet nikki {
|
||||||
{% if (length(lan_inbound_device) > 0): %}
|
{% if (length(lan_inbound_device) > 0): %}
|
||||||
elements = {
|
elements = {
|
||||||
{% for (let device in lan_inbound_device): %}
|
{% for (let device in lan_inbound_device): %}
|
||||||
{{ device }},
|
"{{ device }}",
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% 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
|
iifname lo meta l4proto { tcp, udp } meta mark {{ tproxy_fw_mark }} tproxy to :{{ tproxy_port }} counter accept
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if (tcp_mode == 'tun' || udp_mode == 'tun'): %}
|
{% 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 %}
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue