11

I installed Mac OS X Mavericks (10.9), and I'm using Jetty to publish a web app. I type

sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to any 80 in

(my hosts file has 127.0.0.1 abc.com)

but Safari can't connect to abc.com. It worked in OS X 10.8 though. Why?

user2930390
  • 159
  • 1
  • 1
  • 8
  • 1
    [According to Apple](http://support.apple.com/kb/HT5413) `ipfw` was depreciated as of Mountain Lion (10.8). `pf` should be used instead. – sherb Oct 29 '13 at 03:47

1 Answers1

17

ipfw has been deprecated since Mountain Lion but was not removed until Mavericks. It's now using the ported pf exclusively.

I wrote a quick guide to configure and setup pf for port forwarding in Mavericks.

John
  • 1,112
  • 2
  • 12
  • 19