**NOTE:** A iptables ruleset for a simple SSH+HTTP server setup has been uploaded to this repository, you may want to check it out: [Fincer/linux-server-setup - iptables.rules](https://github.com/Fincer/linux-server-setup/blob/master/other/iptables.rules).
These rules do the following:
1) Do not respond to ping echoes by clients (possibly reduce spambots)
2) Drop all incoming connections, apply only SSH, HTTP and HTTPS
3) Drop packets if the client connection is too intense. May be useful against port scanners such as [Nmap](nmap.org).
The ruleset file has basic installation steps in the header section.
---------------
A basic iptables configuration for incoming SSH requests is as follows:
**1.** Remove UFW from the Linux system, and remove all relevant UFW entries from iptables firewall rule list.
**NOTE:** Warning: (May) delete other important iptables rules configured by system administration!