Basic use of iptables firewall

Iptables is a good firewall software in Linux, this article describes how to install iptables, add and clear rules, open specified ports, and shield basic applications of iptables in CentOS, such as specified ip addresses and ip segments. 1. install

Use tcpdump to analyze the TCP three-way handshake process

The establishment of a TCP connection must be completed through the famous "three-way handshake. The following example shows how to establish a TCP connection. In the following description, the client host is 10.200.5.200 (IBMAIX), and the server

How to install and configure the FastDFS distributed file system in CentOS

FastDFS is an open-source lightweight distributed file system that manages files, including file storage, file synchronization, and file access (file upload and download, it solves the problems of large-capacity storage and load balancing. It is

Usage parameters of the Linux packet capture tool tcpdump

Function description: dumping network transmission data. Syntax: tcpdump [-adeflnNOpqStvx] [-c packet count] [-dd] [-ddd] [-F expression file] [-I network interface] [-r packet file] [-s data packet size] [-tt] [-T data packet type] [-vv] [-w data

Iptables setting script

# Http://www.cs.princeton.edu /~ Jns/security/iptables/index.html # PreparedbyJamesC. Stephen # (jns@gfdl.noaa.gov )#! /Bin/bash # Loadappropriatemodules. modprobeip_table # http://www.cs.princeton.edu/~jns/security/iptables -Fiptables -Xiptables

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 to protect the email server

This document is intended for beginners of iptables. If you have just learned the principles and basic syntax of iptables, but you still do not know how to actually use this tool in the online server environment, read this article. Iptables's two

Configure iptables firewall and set nat

**************************************** * ************************ About firewall system recovery operations and startup methods ***** **************************************** **************************************** ********************************

How to disable seLinux and iptables firewalls in CentOS6.5

CentOS5 close SELinux and use vim to open/etc/selinux/config. add a # sign in front of SELINUXenforcing and comment out it # SELINUXenforcing. then add a new line of SELINUXdisabled to save, exit, and restart the system. Run the "setup" command to

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

Tcpdump command to use an instance

Tcpdump adopts the command line method. its command format is: tcpdump [-adeflnNOpqStvx] [-c quantity] [-F file name] [-I network interface] [-r file name] [-ssnaplen] [-T type] [-w file name] [expression] 1. introduction to tcpdump options-a

Share files with Windows through Samba in LINUX

(1). check whether sambarpm-qa | grepsamba is installed. if samba-common... appears ........... Samba (2) has been installed. remove the read-only attribute of the smb. conf file and change it to modifiable. You must first enter the su command with

Disguise Linux as a Windows

Computers on the network can be easily scanned by hackers using tools or other means to find vulnerabilities in the system and then attack the vulnerabilities. By disguising the Linux system and setting system illusion for hackers, hackers can

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

Common iptables commands and applications in Linux

Iptables command: 1. (-N) create a new rule table 2. (-X) delete an empty Rule Table 3. (-P) change the default policy of the built-in rule table. 4. (-L) list rules in the rule table 5. (-F) clear the rules in the rule table. 6. (-Z) clear the rule

Linuxvim configuration file description

eol

Sudoapt-getupdata and then install sudoapt-getinstallvim-full. enter gedit ~ in the terminal ~ /. Vimrc copies the 1 file and saves it in the terminal. enter gedit ~ /. Gvimrc copy the 2 file to it and save it. Close the terminal and restart the

Complete VIM configuration

eol

General settings default decoding setfencutf-8setfencsutf-8, usc-bom, euc-jp, gb18030, gbk, gb2312, cp936 """"""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""" "General settings """""""""""""""""""""""""""""""""""""""" """"""""""""""

Resizing server hard disks through LVM

After several years of operation, the company's FTP server has encountered insufficient space and decided to use LVM to resize the server. Idea: first copy the data, purchase a large-capacity hard disk and add it to the server, and then convert the

Use of Vim advanced commands

[Keywords] Vims command g command file format encoding method [abstract] This article summarizes Vim's s command and g command, as well as file line feed format and edit format conversion command. 1. s command if a text editor does not support

Total Pages: 2732 1 .... 682 683 684 685 686 .... 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.