Merge pull request #1 from vieira/patch-1

Add <forward_subnets> to divert rule in OpenBSD
This commit is contained in:
Huiqiang Liu 2016-06-17 08:25:59 +08:00 committed by GitHub
commit 5d28ce8272

View File

@ -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 '