I want to stop sending RST to specific IP(192.168.56.101) on Mac OS X.
I enter this command. But it still send RST.
sudo ipfw add drop tcp from 192.168.56.1 to 192.168.56.101 in tcpflags rst
What do I change this command?
Thx for your clues.Finally,I got there.
first.add this line to /etc/pf.conf
block drop proto tcp from 172.31.82.98 to 18.104.22.168 flags R/R
then load the pf rules with
sudo pfctl -f /etc/pf.conf
then enable the pf rules with
sudo pfctl -e