diff options
author | Huiqiang Liu <liutzvin@users.noreply.github.com> | 2016-06-17 08:25:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-17 08:25:59 +0800 |
commit | 5d28ce82723d2e9d32b7b627661f4df7e13681fd (patch) | |
tree | c6c5af5b0b010b37266b7ec80bd4b03891f5f7c8 | |
parent | 2e1beefc9a5db5efdf4bfd37652a163e0adf498a (diff) | |
parent | f876c5db5edc501b51e750c3f7673f6a7ec260de (diff) |
Merge pull request #1 from vieira/patch-1
Add <forward_subnets> to divert rule in OpenBSD
-rw-r--r-- | sshuttle/methods/pf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sshuttle/methods/pf.py b/sshuttle/methods/pf.py index a28f2e8..bb82a2d 100644 --- a/sshuttle/methods/pf.py +++ b/sshuttle/methods/pf.py @@ -249,7 +249,7 @@ class OpenBsd(Generic): ] translating_rules = [ b'pass in on lo0 inet proto tcp ' - b'divert-to 127.0.0.1 port %r' % port + b'to <forward_subnets> divert-to 127.0.0.1 port %r' % port ] filtering_rules = [ b'pass out inet proto tcp ' |