问题原文
原帖链接 · bot47 · CC BY-SA 4.0
I run a NAT router on Debian 10 which takes only a few seconds to reboot, way less then 120 seconds, more like 3. I'd like to keep established connections so that a reboot of the router does not break natted TCP connections, but I don't have the capacities to run two synching routers. How do I persist the conntrack tables on a single machine?
已采纳解答
原帖链接 · bot47 · CC BY-SA 4.0
Turns out, it does not work right now with packaged versions of the conntrack-tools, but it works with the not yet released changes. This commit introduces a save output format which will write the conntrack command line parameters needed to restore the conntrack tables. With this information it's easy to persist the tables. Unfortunately, it is unreleased. Building the conntrack-tools is easy, but it requires an up-to-date version of libnetfilter-conntrack which then might clash with system utilities that depend on a different version.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
