As for editing the firewall, (without the setup program) you would use the "iptables" command and it's switches to get the work done.