editing iptables rules is an important part for a web developer. at least I need it frequently. I thought if I write it down here it might help others. or at least me :) this process should work on any linux based distribution. all the following commands should be run as a root user.