Hi i would like to know how to setup a Firewall in trustix 2.2 and let these ports open

for the apache,mysql,php
for the ssh network + some cpus from outside the network
and the dns (bind9)

well i am still a newbie

thanx in advanced