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,400
Replies
7
Views
4,134
Replies
6
Views
6,249
Replies
8
Views
8,132
Newer threads
Recommended threads
Replies
1
Views
4,148
Replies
4
Views
1,102
Replies
1
Views
3,098
Replies
32
Views
12,245

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