]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
wg-quick: linux: add support for nft and prefer it
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 10 Dec 2019 15:37:34 +0000 (16:37 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 12 Dec 2019 11:24:05 +0000 (12:24 +0100)
commit17c78d31c27a3c311a2ff42a881057753c6ef2a4
tree2dfddbe0d5e828af4e1803cd382888dc71d4d629
parentbc8bf541854a79cdd83be20d630451a418797299
wg-quick: linux: add support for nft and prefer it

If nft(8) is installed, use it. These rules should be identical to the
iptables-restore(8) ones, with the advantage that cleanup is easy
because we use custom table names.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/wg-quick/linux.bash