Protonmail Mail Bridge with Ubuntu Server - how to?

Security by obscurity is not security.

All you need to do is to firewall your server so that nothing can contact it. Then it won’t matter if someone knows the ip address.