Skip to content

Commit

Permalink
Added few comments to firewall script for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
stenya committed Oct 2, 2023
1 parent a30fca5 commit f0a26b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions daemon/References/macOS/etc/firewall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
# Show table
# sudo pfctl -a "ivpn_firewall" -t ivpn_servers -T show
# sudo pfctl -a "ivpn_firewall" -t ivpn_exceptions -T show
# Logging:
# sudo ifconfig pflog1 create # create log interface
# sudo tcpdump -nnn -e -ttt -i pflog1 # start realtime monitoring in terminal
# Modify rules (example: "pass out log (all, to pflog1) from any to 8.8.8.8")
# Restoring:
# sudo pfctl -d # disable PF
# sudo pfctl -f /etc/pf.conf # load default OS rules set

PATH=/sbin:/usr/sbin:$PATH

Expand Down

0 comments on commit f0a26b1

Please sign in to comment.