Env
OS OSX 13.6
nc localhost 4444
netstat -R -P tcp -v -a -n | grep 4444
tcp6 0 0 ::1.4444 *.* LISTEN 0 0 131072 131072 1375 0
First I use pfctl to achieve it
The solution to this problem is in the link below on OSX 10.11 Using pfctl on Mac OS 10.11 (El Capitan) to forward ports
And other solution in /etc/pf.conf
,No thing changed
This is not suitable for my situation