How to block IP address connecting to port in a VPS?

Danlucy

Member
Joined
Oct 12, 2014
Messages
136
Points
18
Hi everyone,

I would like to get and block a list of IP addresses that are connecting to a port in my VPS

for example, the port is 2231 on a linux VPS

Thanks
 

RDO Servers

New member
Joined
Apr 3, 2015
Messages
770
Points
0
You should setup iptables to block access.

Here is a tutorial with info on how to do so.
[URLnofo]http://www.cyberciti.biz/faq/how-do-i-block-an-ip-on-my-linux-server/[/URLnofo]
 

Rob Whisonant

Moderator
Joined
May 24, 2016
Messages
2,489
Points
113
You can also block IP addresses through WHM if you have the ConfigServer Security & Firewall plugin installed. Login to WHM and see if you have it under Plugins.
 
Older threads
Replies
3
Views
6,174
Replies
7
Views
4,044
Replies
6
Views
6,165
Replies
8
Views
7,965
Newer threads
Recommended threads
Replies
2
Views
3,308
Replies
7
Views
6,110
Replies
8
Views
5,797
Replies
6
Views
3,242
Replies
6
Views
2,536

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top