[Discuss] OSX 10.8 Mountain Lion firewall (Re: OSX Lion firewall)

Robert La Ferla robert at laferla.net
Mon Apr 29 19:29:08 EDT 2013


Correction:  I meant OSX 10.8 Mountain Lion and not 10.7 Lion.

On Apr 29, 2013, at 4:33 PM, Robert La Ferla <robert at laferla.net> wrote:

> I need some help configuring some basic firewall rules for OSX Lion.  It's my understanding that OS X Lion uses "pf" but that "ipfw" is available but deprecated.
> 
> Using either of these, how can I:
> 
> Deny all traffic except:
> 
> 1. Allow TCP port 80 BUT forward it to localhost:8080
> 2. Allow TCP port 22 from any IP address
> 3. Allow TCP port 8888 from specific IP addresses
> 
> Lastly, I want to make these rules persistent so that they are reapplied on reboot.
> 
> Thanks in advance,
> Robert
> 




More information about the Discuss mailing list