mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-24 10:03:07 +07:00
docs: add private to direct
This commit is contained in:
parent
f3c651daf7
commit
c2175a4095
@ -1571,7 +1571,7 @@ int tproxy_wan_egress(struct __sk_buff *skb) {
|
||||
encap_after_udp_hdr(skb, ipv6h, ihl, ipv4_tot_len, &new_hdr,
|
||||
sizeof(new_hdr));
|
||||
|
||||
// Redirect.
|
||||
// Redirect from egress to ingress.
|
||||
if ((ret = bpf_redirect(skb->ifindex, BPF_F_INGRESS)) == TC_ACT_SHOT) {
|
||||
bpf_printk("Shot bpf_redirect: %d", ret);
|
||||
return TC_ACT_SHOT;
|
||||
|
@ -49,6 +49,7 @@ group {
|
||||
routing {
|
||||
# See routing.md for full examples.
|
||||
|
||||
ip(geoip:private) -> direct
|
||||
ip(geoip:cn) -> direct
|
||||
domain(geosite:cn) -> direct
|
||||
final: my_group
|
||||
|
Loading…
Reference in New Issue
Block a user