Ipfw: install_state: Too many dynamic rules !

Back

Today after configuring ipfw , i kept receiving this message: 

ipfw: install_state: Too many dynamic rules 

After a little googling i found out the problem.
Problem solved after i change following sysctl value:

# sysctl net.inet.ip.fw.dyn_max=16384


You can also permanently add it in your sysctl.conf file so it is setup after reboot:

# echo “sysctl net.inet.ip.fw.dyn_max=16384″ >> /etc/sysctl.conf


The default value is 4096.