Skip to content

Commit

Permalink
We should be using our own anchor.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthecow committed Dec 27, 2014
1 parent dbf4011 commit 123d79a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/local-tld-uninstall
Expand Up @@ -17,4 +17,4 @@ rm -f $HOME/Library/LaunchAgents/ie.hood.local-tld-service.plist
$SUDO rm -f /etc/resolver/dev

# Flush nat rules
$SUDO pfctl -a com.apple/250.PowFirewall -F nat 2>/dev/null || true
$SUDO pfctl -a com.apple/250.LocalTldFirewall -F nat 2>/dev/null || true
2 changes: 1 addition & 1 deletion etc/ie.hood.local-tld-firewall.plist
Expand Up @@ -8,7 +8,7 @@
<array>
<string>sh</string>
<string>-c</string>
<string>echo "rdr pass on lo0 inet proto tcp from any to any port 80 -> 127.0.0.1 port 5999" | pfctl -a "com.apple/250.ApplicationFirewall" -f - -E</string>
<string>echo "rdr pass on lo0 inet proto tcp from any to any port 80 -> 127.0.0.1 port 5999" | pfctl -a "com.apple/250.LocalTldFirewall" -f - -E</string>
</array>
<key>RunAtLoad</key>
<true/>
Expand Down

0 comments on commit 123d79a

Please sign in to comment.