One-time safe dog parameter configuration leads to the resolution process of the network disconnection

Source: Internet
Author: User
Tags nginx server

Before the company operation to the server installed the security dog software, I took over the server, also did not control it.

Recently the company has a PHP mall website to go online. I'll be ready for the AB stress test in the evening.

Just started to test, found Xshell and Nginx server connection disconnected, how can not even up. But other servers in the same network segment can connect normally (all servers are placed behind the same firewall and then Nat mapped out). From other node ping Nginx server can ping, Telnet is also pass, indicating that the server did not hang out, it is estimated that the firewall is in trouble.


SSH from other nodes to the Nginx server, log in and then first save the firewall rules,

Systemctl Save Firewalld.service

Cp/etc/sysconfig/iptables/etc/sysconfig/iptables.bak

Cp/etc/sysconfig/iptables.save/etc/sysconfig/iptables.save.bak

Systemctl Stop Firewalld.service


Vim opens a look/etc/sysconfig/iptables impressively found my home's IP address in the drop list. Later thought might be the problem of a safe dog, execute the sdui command, open the console of the security dog, the rule of monitoring DDoS can be relaxed (by default, an IP address is allocated 10 connections, this parameter is too small for the time of the pressure measurement. The modification process is not mapped here.)


After the parameters are changed, the firewall is started Systemctl start Firewalld.service, and Xshell is now able to connect to the server properly.


One-time safe dog parameter configuration leads to the resolution process of the network disconnection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.