Depends what Jboss services you require to be accessible externally. I have got JBoss running a web application which is accessible externally. I have closed all ports but 80 (HTTP) and 443 (HTTPS) externally and that's all JBoss needs.
Did you modify Jboss such that these 'extra' ports do not open on startup, or did you firewall them.
I have been having success through the use of IPTables, but like I mentioned before I'd rather keep the ports from listening all together.