firewalld rule to block url
by vinmansbrew from LinuxQuestions.org on (#6KHE5)
Rhel 7.9 using firewalld
I know how to block IPs, what I'd like to do is block a url. For example compute-1.amazonaws.com, so that anything from that address gets blocked.
Is there a way to do this, without camping netstat and blocking every IP I see from the address?
I haven't found anything that seems to reference doing this.
Thanks
I know how to block IPs, what I'd like to do is block a url. For example compute-1.amazonaws.com, so that anything from that address gets blocked.
Is there a way to do this, without camping netstat and blocking every IP I see from the address?
I haven't found anything that seems to reference doing this.
Thanks