Skip to content

Commit

Permalink
chore: note --bpf-log in the sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
EHfive committed Jan 13, 2025
1 parent 90daa2a commit 9ddd290
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 <level>` 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
Expand Down

0 comments on commit 9ddd290

Please sign in to comment.