From 375810a9a8910a51db22c9fe4c0658c39b16c9e7 Mon Sep 17 00:00:00 2001 From: satarsa <727578+satarsa@users.noreply.github.com> Date: Tue, 25 Mar 2025 21:26:38 +0100 Subject: [PATCH] fix: Restore "nft" method Accidentally removed in refactoring (commit 900acc3). Closes #1037. Co-authored-by: Vadim Dyadkin --- sshuttle/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshuttle/options.py b/sshuttle/options.py index ca49933..433abdf 100644 --- a/sshuttle/options.py +++ b/sshuttle/options.py @@ -247,7 +247,7 @@ parser.add_argument( if sys.platform == 'win32': method_choices = ["auto", "windivert"] else: - method_choices = ["auto", "nat", "tproxy", "pf", "ipfw"] + method_choices = ["auto", "nft", "nat", "tproxy", "pf", "ipfw"] parser.add_argument( "--method",