Fedora system iptables firewall and seLinux configuration method

Disabling the firewall from the configuration menu does not work. simply do not install the firewall during installation to view the firewall status:/etc/init. d/iptablesstatus temporarily disable the firewall:/etc/init. d/iptablesstop disable

Detailed description of iptables extension

1. in fact, the matching extension also needs to be added to the display extension of the-m reference module. the default value is implicit extension. do not use the-m status Detection Package to filter-mstate -- state {NEW, ESTATBLISHED, INVALID,

Iptables firewall configuration diagram

I. iptables command format (more complex) iptables [-ttable] command [chain] [rules] [-jtarget] (1) table ------- specify the table name (raw table, mangle table, nat table, filter table) (2) command ------- chain Operation command (-: append rules (

How to set up shared internet access for dual NICs in Linux

I. network extension structure: Server: two network card settings: eth1: 192.168.99.26 mask: 255.255.255.0 Gateway: 192.168.99.133 # connect with Inte. Net to connect the vro to the Internet. Eth0: 192.168.0.1 mask: 255.255.255.0 # Subnet segment of

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

Collect and organize common CentOSLinuxiptables commands

Iptables is a common firewall software in Linux. it has complex commands and powerful functions. Used to forward and filter data packets. 1. functions of the firewall:. split the trust region or the untrusted Region B. restrict the services that can

Deploy the ADIUS server in Linux

As a network administrator, you need to store user information for each network device you want to manage. However, network devices generally only support limited user management functions. Learn how to use an external RADIUS server on Linux to

Use the zip command in linux

Why is the zip command used in linux: I am too busy recently and have no time to learn new things. today I am using the zip command, but I am not familiar with it. record it for www.2cto. comzip syntax [plain] zip compressed file name compressed

Four common causes of SELinux warning

Four common causes of SELinux warning this article describes four causes of SELinux warning and solutions. Www.2cto.com cause 1: The core concept of SELinux is labeling, whether it is a file system, directory, File, file startup descriptor... four

Create a test environment with full disk space in Linux

Linux constructs a test environment with full disk space. it uses the ramdisk of the suse operating system to mount the virtual disk partition, and then fills up the virtual disk partition to meet the condition that the disk is full. Www.2cto.

How to automatically change the user password in Linux (directly run the command instead of entering the password on the terminal)

In Linux, the user password is automatically modified (by using commands instead of entering the password on the terminal) in the format of www.2cto. comEcho password | passwd & amp; ndash; stdin username www.2cto.com example: change the password of

Debian package management system

The Debian package management system has only the .tar.gz package file at the beginning. you must compile each software that he wants to run on GNU/Linux. Users generally think that it is necessary for the system to provide a way to manage these

Disable exclusive display + power-saving and cooling settings in Ubuntu

After ubuntu is installed in a notebook, you will find that power consumption and heat consumption will be very serious. if you use a battery, the endurance will be very short, almost half the time in windows, this is a lack of ubuntu system power

One linux command every day (48): watch Command

One linux command every day (48): watch command link: One linux command every day (47): iostat command http://www.2cto.com/os/201212/180543.html Watch is a very practical command. basically all Linux distributions have this tool, like name 1... one

Run rc. local at archlinuxsystsystemd startup.

After you run rc. localArchlinux to replace initscript with systemd at archlinuxsystemd startup, many service startup methods have changed. The original/etc/rc. d/rc. local has disappeared and is recommended to be replaced by tmpfiles. d. However,

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,

Compare if in shell

In shell, if is used to compare whether two strings are equal: www.2cto. comif [& quot; $ test & quot; x & quot; test & quot; x]; then has the following key points: 1. use a single equal sign 2 to notice that there is a space on both sides of the

Connect to GIT through SSH authentication

Connect to GIT 1 through SSH authentication. there are multiple methods for connection permission authentication to connect to the GIT server to obtain or submit information, mainly including 1. each developer creates an account. 2. SSH public key

Shell script error example

A shell script error often occurs when writing a script: write it in windows and copy it to execute it. However, an error is reported when you test it, the error is amazing. for example, the syntaxerrornearunexpectedtokendo error occurs in my for

Clear dns cache in ubuntu

Ubuntu clears dns cache. if nscd exists in the system, sudo/etc/init directly. d/nscdrestart: it doesn't matter if it doesn't. most of the methods accepted on the Internet are sudoaptitudeinstallnscdsudo/etc/init. d/nscdrestart, we can also directly

Total Pages: 2732 1 .... 393 394 395 396 397 .... 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.