The system is installed by default. if not, run yuminstall-yiptables to start serviceiptablesstart or/etc/init. d/iptablesstart run the following command to view the iptables configuration: iptables-L-n or directly View/etc/sysconfig/iptables-config
The linuxtcpdump command must be used as root. Example: capture data on port 8804 of the local machine and save the packet capture results in the test. cap file
In linux, iptables is used to limit traffic, which is simple and practical. You can use the following script to configure the machine as a gateway. 1. configure iptables forwarding (omitted) 2. speed limit script vi/root/xiansu. sh #! /Bin/bash/sbin/
TCPDUMP introduction for network management personnel, the use of sniffer can grasp the actual network conditions at any time, when the network performance drops sharply, you can use the sniffer tool to analyze the cause, find out the source of
Iptables-AINPUT-ptcp -- dport22-jACCEPT02 # Allow packets from port 22 to enter 03iptables-AINPUT-ptcp -- dport22-jACCEPT04 # Allow packets from port 22 to return 05iptables-AOUTPUT-ptcp -- sport22-mstate -- stateESTABLISH
Iptables-A input-p tcp --
Recently, Cainiao is learning shell programming. it seems that it is too late. it is just a matter of time for BS to start programming. In the process of learning shell programming, I encountered a very mentally retarded problem. I had consulted
Disable/etc/rc. d/init. d/iptablesstop: Enable/etc/rc. d/init. d/iptablesstart view current configuration: iptables-Lredhat: chkconfig -- level2345iptablesoffserviceiptablesstop but it is not recommended to disable firewall 1) enable it after
The built-in variable [plain] www.2cto in The AWK language in AIX. the comawk built-in variable awk has many built-in variables used to set environment information and can be modified. The following table lists some common built-in variables and
In Linux, fast partition formatting is larger than 2 TB and large capacity is stored in the production environment. we will encounter a disk with a partition larger than 2 TB (for example, adding a 10 TB storage). since MBR partition tables only
How to decompress the iso image file in linux. the iso file format is iso9660, and iso9660 is a file system on cd, that is, www.2cto.com is the form of data organization on cd. some of its restrictions are: 1. a maximum of 8 sub-directories (you can
The file name is garbled on Debian in Linux. sometimes we need to copy files in Windows to Debian (FTP, network sharing, and other methods), but the problem arises. The Chinese file name in Windows is garbled in Debian. what should I do? Sometimes
A little Linux every day-hard disk knowledge today, disk interfaces are mainly divided into two types: IDE (IntegratedDriveElectronics), SCSI (SmallComputerSystemInterface ). They each have some differentiation or evolution, so the technical terms
Ping the IP address. the error message displayed in ifconfig is RXpackets: 234 errors: 12. the default Nic of VirtualBox virtual machine is incorrect (the company uses wireless network and selects a wired NIC ), after re-selection, you can
Install the EXIF Library in linux 1. view the extension package File: www.2cto. comcd/usr/local/php-5.2.17/ext/exif2, add extensions/usr/local/PHP/bin/phpize to php dynamically. /configure -- with-php-config/usr/local/php/bin/php-confi install EXIF
Add a new hard disk in Linux to automatically mount the hard disk. insert a new hard disk and start the Linux server. use fdisk-l to view the hard disk www.2cto.com # fdisk-lDisk/dev/sda: 1000.2 GB, 1000204886016bytes2. formatting hard disk #
LinuxGitconfig stands for the initial installation and running Git. we recommend that you run the following command on the command line to configure the abbreviations and colors, which can effectively improve the efficiency of www.2cto. comShell
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