How to block direct IP access?

Greetings from India.

I'm kind of a newbie when it comes to advanced server configuration. I would like to block access to my server directly through its public IP address.

The IP address allocated to me is dynamic. I want my server to return either 'connection reset' or 'connection dropped' error when trying to connect directly through its public IP, on both port 80 & port 443.

Thanks in advance.


Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion