I have a server which runs a few services. However, for security reasons, I configured the server so that nothing, except for SSH, is accessible from outside.
What I'd like to do instead, though, is to have the server allow access to all its services to anybody who has managed to successfully login via SSH (and once that person disconnects, close all the ports again, except for the SSH port which should remain open).
Is there a way to do this?
I'm using Arch Linux on the server and
ufw to manage the firewall.