I must share my macos monterey's internet connection (via wifi = en1) to a computer connected directly to the mac's ethernet port (en0). I've put internet sharing on and the other computer gets an ip and i can ssh there so i know it works.
Now I need port forwarding. I've understood that I need to tweak /etc/pf.conf. I found the following advice:
nat on en1 from en0:network to any -> (en1)
but it doesn't work.
What should I put in pf.conf?