It depends on what version of linux you are using, and what firewall.
Here's some infor for Red Hat. Those will rpobably work on any Red Hat compatible system.
You can always just flush the iptables rules by doingbut that will remove other things too, like port forwarding. Plus, they will come back up next time you reboot the machine.Code:iptables -F