🍕 Sync 2026-06-09 16:35:49

This commit is contained in:
github-actions[bot] committed 2026-06-09 16:35:49 +08:00
1 parent 38d98bc664
commit 975fb6110a
4 files changed
+16 -12

No files matched your search

+5 -1
View File
@@ -499,7 +499,9 @@ table inet momo {
{% elif (cgroups_version == 2): %}
socket cgroupv2 level 2 "services/{{ cgroup_name }}" counter return
{% endif %}
{% if (length(dns_hijack_nfproto) > 0): %}
jump router_dns_hijack
{% endif %}
{% if (tcp_mode == 'redirect'): %}
fib daddr type { local, broadcast, anycast, multicast } counter return
ct direction reply counter return
@@ -563,7 +565,9 @@ table inet momo {
{% if (lan_proxy): %}
chain dstnat {
type nat hook prerouting priority dstnat + 1; policy accept;
{% if (length(dns_hijack_nfproto) > 0): %}
iifname @lan_inbound_device jump lan_dns_hijack
{% endif %}
{% if (tcp_mode == 'redirect'): %}
fib daddr type { local, broadcast, anycast, multicast } counter return
ct direction reply counter return
@@ -615,4 +619,4 @@ include "/etc/momo/firewall/geoip_cn.nft"
{% endif %}
{% if (bypass_china_mainland_ip6): %}
include "/etc/momo/firewall/geoip6_cn.nft"
{% endif %}
{% endif %}