Someone on this forum recommended Arno's IPtable-firewall script and this is what I use. You need to follow the instructions to get it working and it can be obtained from:-

http://rocky.molphys.leidenuniv.nl/

Cheers, Stuart.....

PS. Very secure once setup.....