6
1
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.
I'd suggest moving this question to stack Overflow, since it will require a script. Also, consider using http://www.portknocking.org/ for extra security
– Lizz – 2013-01-25T07:05:18.483@Lizz: port knocking seems like a cool idea. I'm open to moving it (can't do that without a mod though). – houbysoft – 2013-01-25T08:34:20.120