Configure iptables firewall in CentOS

Command and configuration file/etc/sysconfig/iptablesserviceiptablesrestart # start enabled # restart permanently disable firewall chkconfig -- level35iptablesoff // CentOS5.2 firewall settings such as enabling 80 command and configuration file /Etc/

Basic iptables configuration method

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

Configure static routes in iptables to use dual-network access

Iptables + static routing configuration of dual-network access author: unknown ----------------------------------------------------------------- iptables-tnat-APOSTROUTING-s192.168.0.0/24-jMASQUERADEiproutereplacede Iptables+ Configure dual-Internet

Use tcpdump in Linux to analyze network data packets

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

Use iptables speed limit to control bandwidth traffic

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/

Linux command TCPDUMP

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

Basic Linuxiptables usage

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 --

Use the source Command in Linux

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

Linuxiptables firewall disabling or enabling and modifying SSH port and other configurations

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

Fedora17 set the terminal shortcut key desktop shortcut

Fedora17 sets the terminal shortcut key to quickly open the desktop in the upper left corner of the desktop [activity] -- & gt; [application] -- & gt; [system tools] -- & gt; [System Settings] -- & gt; [keyboard] -- & gt; [shortcut key] -- & gt;

Built-in variables of the AWK language in AIX

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

Fast partition formatting in Linux is larger than 2 TB large storage capacity

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 an iso image file in linux

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

Solve the problem of garbled file names on Debian platforms in Linux

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-hard disk knowledge every day

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 Message printed by ifconfig is RXpackets: 234 errors: 12.

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

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

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 #

Gitconfig abbreviation configuration

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

Simple batch file name change script

Simple batch file name change script #! /Bin/bash # rename. sh # Purpose: rename the jpgpng file www.2cto. comcount1; forimgin *. jph *. pngdonewimage-$ count. $ {img ##*.} mv & quot; $ img & quot; $ new & quot; 2 & gt;/dev/null Simple batch file

Total Pages: 2732 1 .... 621 622 623 624 625 .... 2732 Go to: GO

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.