What should I do if the Linux server is attacked? In fact, don't worry, the method of rejecting foreign ip access can reduce the number of attacks. The following small series teaches you how to shield foreign ip access, let's learn together.
1. In fact, there are many foreign IPs, and the amount of IP in so many countries is very large. There is not much IP in a country, which means that we can collect domestic IP and then only allow Domestic IP access, other IPs are rejected, so that it can also filter the way to foreign IP.
2, we can fully use iptables to filter
3, first of all talk about iptables IP approach allows a
iptables -A INPUT - s 114.114.114.114 -p TCP --dport 80 -j ACCEPT
iptables -A OUTPUT -d 114.114.114.114 -p TCP --sport 80 -j ACCEPT
This allows An IP access server port 80 port
Previous12Next page Total 2 pages
The su command under Linux is mainly used to switch users. It can switch between ordinary users and
For those who have Windows and Linux dual systems, the trouble is the use of docume
md5sum is a shell command in Linux/Unix. It can be used for file verification. For
Subversion is a version control system that puts files in a central repository. How
Linux uses instructions to release the cache step
How Linux uses the command line to clean up the disk to increase the space
Linux method for converting plain text documents into PDF files
How to undo operations in Git in Linux
How Linux expands the number of file openers
Using the find command in Linux to find files How to ignore certain directories
The Linux find command combined with xargs method
Linux system uses FTP method by command
Linux system how to prevent CC attack
How Linux uses shell scripts to defend against small amounts of ddos attacks
Add features to Windows 8: Frequently Asked Questions
Win10 first anniversary update preview version 14385 update content Daquan
Two possible ways to start the Group Policy Editor under Win10
What is the setting method of the win7 boot startup item? What is the setting method of the
Win8 VS Win7 third-party software acquisition method
Windows blue screen error code list at a glance
Windows 8 Metro app is only available through the Microsoft App Store
If the installation driver prompts "File Loss" causes the installation to fail, what should I do?
Win8.1 Microsoft account password is valid for a short period of time
When PPTV watched the video, the CPU occupied 100%. How to do