Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] OSX Lion firewall

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,

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /