IPchains Firewalling - Template Mode
In Template mode you can chosse the services and directions which should be allowed to go through the firewall.