acme: switch from iptables to nft
authorToke Høiland-Jørgensen <toke@toke.dk>
Wed, 30 Mar 2022 10:54:51 +0000 (12:54 +0200)
committerRosen Penev <rosenp@gmail.com>
Fri, 20 May 2022 20:16:59 +0000 (13:16 -0700)
commitd926da5182a4547e5248dad3e3e59abcd41d126f
tree3f4d78e4a3fe431502d2fbdc2968b39702381525
parent1d54defb0fe7a964a19e3aa36e35a8159bcc2262
acme: switch from iptables to nft

Use nft instead of iptables to open port 80 in the firewall when getting a
cert. Since nft doesn't allow deleting a rule by its contents, capture and
save the handle when creating the rule, and use that to delete.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
net/acme/files/run.sh