Yes, it's possible. You'll need to setup and configure a TURN server (coturn is a popular choice) to listen on those ports, and have your users use it. You do NOT need to set the TURN server on Janus as well, instead, unless the gateway itself is behind such a restrictive component (and if it is, you're doing it wrong).
L.