Commit 5d28ce82 authored by Huiqiang Liu's avatar Huiqiang Liu Committed by GitHub

Merge pull request #1 from vieira/patch-1

Add <forward_subnets> to divert rule in OpenBSD
parents 2e1beefc f876c5db
...@@ -249,7 +249,7 @@ class OpenBsd(Generic): ...@@ -249,7 +249,7 @@ class OpenBsd(Generic):
] ]
translating_rules = [ translating_rules = [
b'pass in on lo0 inet proto tcp ' 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 = [ filtering_rules = [
b'pass out inet proto tcp ' b'pass out inet proto tcp '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment