using debian lenny
want to open port 6112 tcp , 4000 udp , battle.net ports
how would i do this with iptables
Generally when a daemon server application is started it opens the ports to listen for certain traffic. If the ports are being blocked by your firewall then you have two choices, manually modify your firewall script to make the exceptions or install a GUI like firestarter to easily manage the iptables settings.