You can put ports in the side of a box too. So it only needs to fit width and depth, and not have the extra space taken up on the side. As for sealed though, I can't help you. I'm a super strong believer in ports.