Here is an overview of the iptables interface on VPSrobots.
- Port Rule table
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
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.
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.