Mastering Development System & Network

UFW/Iptables: Allow response to http(s) requests but block everything else

I’d like to block everything outgoing from my server while still allowing responses to incoming http/https requests. Some examples: User calls my server using his browser ( Firewall should allow a response and server should deliver test.html to user. Application on my server tries to connect to Firewall should deny this outgoing request because […]