From 9ddd29074719b021266bab40e5c98e52a121070f Mon Sep 17 00:00:00 2001 From: Huang-Huang Bao Date: Mon, 13 Jan 2025 18:09:01 +0800 Subject: [PATCH] chore: note --bpf-log in the sample config --- config.sample.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.sample.toml b/config.sample.toml index 512392c..94d9aed 100644 --- a/config.sample.toml +++ b/config.sample.toml @@ -8,7 +8,7 @@ ipv6_hairpin_rule_pref = 100 ipv4_hairpin_table_id = 4787 ipv6_hairpin_table_id = 4787 -# For ports not in specified ranges, einat would passthourgh NAT if the traffic +# For ports not in specified ranges, einat would passthrough NAT if the traffic # is on interface's external address. You should exclude ports of services ( # e.g. SSH, HTTP server) serving on NAT host's external address and expecting # inbound initiaed traffic from NAT port ranges specified here. @@ -40,6 +40,7 @@ nat66 = false # Set max BPF log level, developer facing debugging option, # would increases eBPF verification time if enabled. +# You also set `--bpf-log ` for CLI. # 0: disable, 1: error, 2: warn, 3: info, 4: debug, 5: trace # View logs with `cat /sys/kernel/debug/tracing/trace_pipe` bpf_log_level = 0