Skip to content

Commit 53d5260

Browse files
committed
Merge pull request apenwarr#11 from douglas/master
Fix the excludes rule for OS X Yosemite and OS X El Captain
2 parents a389633 + f870ceb commit 53d5260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firewall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def do_pf(port, dnsport, family, subnets, udp):
499499
exclude_subnets = filter(lambda s:s[2], sorted(subnets, reverse=True))
500500
if exclude_subnets:
501501
tables.append('table <exclude_subnets> {%s}' % ','.join(["%s/%s" % (n[3], n[1]) for n in exclude_subnets]))
502-
filtering_rules.append('pass out route-to lo0 inet proto tcp to <exclude_subnets> keep state')
502+
filtering_rules.append('pass out quick proto tcp from any to <exclude_subnets> keep state')
503503

504504
if dnsport:
505505
nslist = resolvconf_nameservers()

0 commit comments

Comments
 (0)