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,355
Replies
7
Views
4,100
Replies
6
Views
6,216
Replies
8
Views
8,078
Newer threads
Latest threads
Replies
0
Views
590
Replies
2
Views
789
Recommended threads
Replies
4
Views
2,973
Replies
1
Views
2,303
Replies
2
Views
2,772
Replies
10
Views
10,009

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