Iptables is known as one of firewall tools included in most Linux distributions by default and is usually used to block unwanted accesses. VPSrobots allows you to configure iptables on your server, and provides you with a graphical user interface(GUI) based on ports, protocols and IPs to configure iptables rules in a fairly easy manner. It also comes with a data counter based on the server access log that provides the accurate blocked access times within a day, a week, a month. Meanwhile, top 10 most suspected IPs for each day are listed to help you analyze and block the IPs that may intend to hack your server.

Here is an overview of the iptables interface on VPSrobots.

  • Port Rule table

Port Rule table on VPSrobots iptables interface

This table has included 8 well-known TCP ports by default and allows you to edit custom port rules if you need more service ports:

  • To open a port, select a protocol from TCP, UDP, ICMP then enter the port number in a range of 1-65535. An opened port will be accessiable from all hosts and networks. The table lists each opened port with it’s protocol type, port number as well as accepted count(the total number of access it accepted).
  • To close a port, just click on Remove button on the line. All the access to a closed port will be blocked.

 

  • IP Rule table

IP Rule table on VPSrobots iptables interface

This table allows you to edit custom IP rules. You can add a IP/IP segment into the list to block it from accessing your server. or remove it from the list to allow it to access your server. The table lists each blocked IP with it’s IP address, status and blocked count( the total number of blocked access from the IP/IP segment).

On the top of the tables, the accurate blocked access times within a day, a week, a month a total number as are indicated. The detail data of the week and month can be viewed via additional windows. Each of the window contains a histogram that indicates the total number of blocked access times for each day and a table that shows the TOP 10 most suspected IPs for the day. These IPs have been blocked by the closed ports and are still scanning other ports on your server. It is warning you the IPs may come from hackers are trying to hack your server’s leak. You can block the TOP 10 IPs and flush the data counter on the iptables from the window.

The additonal window shows the detail data for week

The additonal window shows the detail data for week

Now that you understand how VPSrobots iptables works, before you move on to practice, you may need to see How to Set up iptables with VPSrobots.