A confusing day trying to get outgoing ports open so i can connect to a windows SQL server
Eventually found ConfigServer Firewall which has some nice WHM features for setting ipTables.
Tried ipTables through ssh as well. limited success as things were getting reset on restart of server
Host provider helped with APF whitelist, but cant say i understood what was going on there.