I don't think that's what he's asking.
The solution should be to set the public zone to explicit deny all, and then only accept traffic for 22 for SSH.
The solution should be to set the public zone to explicit deny all, and then only accept traffic for 22 for SSH.
On Fri, Mar 8, 2024 at 9:01 AM Mike Brown <brown@xxxxxxxxxxxxxxxxxx> wrote:
On Fri, Mar 08, 2024 at 05:47:46PM +0530, Kaushal Shriyan wrote:
> I am running Red Hat Enterprise Linux release 8.9 (Ootpa). Is there a way
> to disable the internet and allow only SSH connection to this server? I
> have followed the below steps to disable internet access and allow only SSH
> connections to the remote server.
You do understand that shutting down the internet connection also means that
you can't ssh into the server either.
MB
--
e-mail: vidiot@xxxxxxxxxx | vidiot@xxxxxxxxxx /~\ The ASCII
6082066843@xxxxxxxxxxxxxx (140 char limit) \ / Ribbon Campaign
Visit - URL: http://vidiot.com/ X Against
http://vidiot.net/ / \ HTML Email
GEORDI: "Data, could you try being a little more positive..."
DATA: "I hope we die quickly!" (Star Trek: Picard - 4/13/23)
--
You received this message because you are subscribed to the Google Groups "redhat-list@xxxxxxxxxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redhat-list+unsubscribe@xxxxxxxxxx.