I'm trying to redirect from my localhost:8080 to port 80 so I can connect to a database that sites on a VM while using my own computer's browser to test, and I have typed the following into my terminal:
echo " rdr pass inet proto tcp from any to any port 8080 -> 127.0.0.1 port 80 " | sudo pfctl -ef - and then
sudo pfctl -s nat to see that my rule is loaded.
I then on my browser tried my localhost:80/wp-admin and the page hangs. I also tried adding an anchor to the pf.anchors folder, as laid out [here], and no dice.
What's doing on?