Expose port without opening firewall

Need: Publish a container’s port via Nginx, but leave the firewall closed.

You can go to “Network setting –> Traffic –> ALLOWED WEB SOURCES” and then type 127.0.0.1. This will change all those ports for your app to only be open to 127.0.0.1.

Then you can manually add the rules you need to your firewall.

You must be logged in to answer this question