This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function pfprint() { | |
| if [ -n "$1" ];then | |
| sudo pfctl -a "$2" -s"$1" 2>/dev/null | |
| else | |
| sudo pfctl -s"$1" 2>/dev/null | |
| fi | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # before corectld (mehserve redirect works) | |
| r scrub-anchor "com.apple/*" all fragment reassemble | |
| r anchor "com.apple/*" all | |
| n nat-anchor "com.apple/*" all | |
| n rdr-anchor "com.apple/*" all | |
| com.apple r anchor "200.AirDrop/*" all | |
| com.apple r anchor "250.ApplicationFirewall/*" all | |
| com.apple/200.AirDrop/Bonjour r pass in on p2p0 inet6 proto udp from any to any port = 5353 keep state | |
| com.apple/200.AirDrop/Bonjour r pass out on p2p0 proto tcp all flags any keep state |
OlderNewer