Iptables detailed configuration tutorial in CentOS

If you do not know the basic knowledge about IPTABLES, we recommend that you first check it out. configure a filter table firewall. (1) view the settings of IPTABLES on the local machine [root @ tp ~] # Iptables-L-nChainINPUT (policyACCEPT)

Configure iptables to open port 80

Iptables-F // clear rules iptables-AINPUT-ptcp -- dport22-jACCEPT/* allow packets from port 22 into */iptables-AOUTPUT-ptcp -- sport22-mstate -- stateESTABLISHED-jACCEPT/* allow from 22 port entry package return */iptables-AOUT Iptables-F // clear

Iptables command usage tutorial

The/etc/sysconfig/iptables file saves the port rules. I feel that editing this file is reliable. Run the iptables command to go to an article. 1. check the settings of IPTABLES on the local machine [root @ tp ~] # Iptables-L-nChainINPUT

Iptables detailed tutorial

The packet filtering firewall uses a software to view the packet header, which determines the fate of the entire package. It may decide to DROP the package, ACCEPT the (ACCEPT) package (let this package pass), or perform other more complex actions.

Precautions for system O & M monitoring

At present, many enterprise information systems have their own monitoring platforms and monitoring methods. no matter which method is used to achieve real-time monitoring of the system and fault alarms, there are only two methods used: centralized

How to Open pop3 and smtp ports in iptables firewall

Iptable-AINPUT-ptcp-dIP -- dport25-jACCEPTiptable-AINPUT-ptcp-dIP -- dport110-jACCEPT1, how do I close all ports? IPTABLES-AINPUT-DPROT1-65535-JDROP2 in the specified port that needs to be opened? (For example: 22) IPTABLES-AINPUT Iptable-a input-p

Differences between. bash_pfofile,. bash_logout and. bashrc in Linux

In Linux,. bash_profile,. bash_logout, and. bashrc files have special meanings for bash. When a user logs on or calls another bashshell, they provide a method to automatically establish the logon account environment and allow various commands to be

Fedora error accessing samba server: "You may not have permission to use network resources"

Fedora access to samba server error: & quot; you may not have permission to use network resources & quot; if you cannot access it when using Samba to create a Window to share with Linux, if you do not have the permission to use network resources,

Shell captures page information ip168 to query IP addresses

The shell captures the page information ip168 queries IP addresses in batch through ip168 #! /Bin/bashwhilereadlinewww.2cto. comdoecho $ lineip $ (echo-en $ line | awk & amp; #39; {print $3} & amp; #39; | awk-F & quot;/& quot; & amp; #39 shell

The HP-UNIX system goes down

HP-UNIX system downtime in the morning when db routine inspection found a node 2 down. First, check the alter of Checkpoint 2. no discovery is found, and the crs resources are in offline status. it can be determined that the system is down and there

Solve the problem that users and groups cannot be added in linux (the groupadd command is unavailable)

To solve the problem that users and groups cannot be added in linux (the groupadd command is unavailable), you need to install mysql on a linux server. when installing mysql, an error message is displayed: www.2cto.com [root @

Delete iptables rules-how to delete an existing iptables rule

Syntax: iptables-Dchainrulenum [options] Where: chain indicates the chain, that is, the attribute rulenum such as INPUTFORWARD indicates the rule number. Start from 1. You can use iptables-LINPUT -- line-numbers to list... syntax: iptables-D chain

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

Web site pressure and performance testing tool WebBench User Guide

Web website performance stress testing tool WebBench is a well-known test tool for website stress developed by Lionbridge. Official homepage: http://home.tiscali.cz/~cz210552/webbench.html In the O & M work, the website pressure and performance test

What are the different colors of file names in Linux?

In Linux, different file name fonts have different colors. in Linux, the file color is meaningful. In Linux, different file names are in different colors, indicating different file types. As shown in the following figure: www.2cto.com light blue:

In Linux, how does one know what program a port is running?

In Linux, how does one know what program a port is running? when we use netstat-an, we sometimes see similar output: www.2cto. comudp000.0.0.0: 327680.0.0.0: * but no such port is found in/etc/services. how can this problem be solved... in Linux,

Install nginx in Windows XP

Install nginx in Windows XP. First, go to the official website to download the Windows version of nginx. download from the official website: http://nginx.org/download/ After downloading the software package, decompress the nginx-nginx.zip package to

Enable GZIP compression for LIGHTTPD

LIGHTTPD enables GZIP compression to open lighttpd. confvi/etc/lighttpd. conf lookup #### compressmodule # compress. cache-dir & quot;/tmp/lighttpd/cache/compress/& quot; # compress. filetype (& LIGHTTPD enable GZIP compression to open lighttpd.

Setting command prompt operations in Linux

In Linux, it is necessary to know some basic information before setting the command prompt. 1. environment variable: PS1 (number 1). different Linux versions have different bash values. you can use manbash to find the following information. Www.2cto.

Differences between autoclean, clean, and autoremove of apt-get commands

The differences between the autoclean, clean, and autoremove commands of apt-get are summarized as follows: apt-getautoclean: www.2cto.com. if your hard disk space is small, you can regularly run this program to delete the software... the

Total Pages: 2732 1 .... 486 487 488 489 490 .... 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.