[Bug 253790] if_wg(4) lacks persistent keepalive
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 23 10:31:58 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253790
Bug ID: 253790
Summary: if_wg(4) lacks persistent keepalive
Product: Base System
Version: 13.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: crest at rlwinm.de
I have to run a WireGuard tunnel through a NAT and the tunnel is used for
bursty traffic and without the keepalives supported by wireguard-go, OpenBSD
and Linux the NAT state times out between bursts.
I've found no way to configure a persistent keepalive interval on FreeBSD
13.0-BETA3 and from a quick glance at the ifconfig and if_wg sources it appears
this feature is missing. If I configure a keepalive interval at the other end
of the tunnel the key exchange fails.
The only workaround for this is to generate traffic at all times to keep the
tunnel open e.g. while true; ping -c1 $peer_internal; sleep 10; done
One of the really nice things about WireGuard is the interoperability between
all existing implementations. This limitation is the first incompatibility
between implementations I've encountered.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list