Diagnostic step 1
Increase nf_conntrack_udp_timeout to the upstream default (e.g., 30s) or a value appropriate for the expected idle time of your UDP applications (60–120s for VoIP), then monitor conntrack table size.
Generated Oct 28, 2026, 9:44:48 AM
Increase nf_conntrack_udp_timeout to the upstream default (e.g., 30s) or a value appropriate for the expected idle time of your UDP applications (60–120s for VoIP), then monitor conntrack table size.
If conntrack memory usage is the reason for lowering timeouts, raise nf_conntrack_max and ensure vm.max_map_count and net.netfilter settings allow the larger table, or implement per‑flow keepalive from guests to keep mappings alive.
Consider using hairpin NAT or a routed network for guests to avoid host NAT where possible; migrating guests to a routed setup eliminates NAT mapping expiry issues.
Enable conntrack helper or dedicated rules only where necessary and capture conntrack entries with conntrack -L to validate mapping behavior before/after change. Rollback is simple: restore previous timeout value.