Link to home
Start Free TrialLog in
Avatar of LouisSanchez
LouisSanchez

asked on

Firewall rules Mac OSX

What is the procedure for making firewall rules not reset after reboot in osx 10.5? I have used a startup script, but I was hoping to just be able to copy a file and have it stay the same after reboot. Thanks
Avatar of thetmanvn
thetmanvn
Flag of Viet Nam image

Step 1: Enabling IPFW

Open /etc/rc.conf file
# vi /etc/rc.conf
Append following settings:
firewall_enable="YES"
firewall_script="/usr/local/etc/ipfw.rules"

Step 2:
You need to paste your own script to /usr/local/etc/ipfw.rules or you can skip your old script and change it path in the Step 1 above

Good luck
Avatar of LouisSanchez
LouisSanchez

ASKER

I don't see a rc.conf in the /etc/ directory on 10.5
ASKER CERTIFIED SOLUTION
Avatar of thetmanvn
thetmanvn
Flag of Viet Nam image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial