Open ports of Linux Firewall

Source: Internet
Author: User

Open ports of Linux Firewall

I. Linux firewall configuration files and commands

1. RedHat Linux System

This type of system contains various derivatives and related versions of red hat, including RHEL, CentOS, and Fedrora.

Firewall Configuration File:/etc/sysconfig/iptables-config

Service Operation Command: etc/init. d/iptables service iptables {start | stop}

Temporary change command: iptables-save iptables-restore and so on

 

2. SUSE System

The SUSE system adopts its own firewall system

Firewall Configuration File:/etc/sysconfig/SuSEfirewall2

Firewall Resource Directory:/etc/sysconfig/SuSEfirewall2.d

Service Operation Command:/etc/init. d/SuSEfirewall2_init/etc/init. d/SuSEfirewall2_setup

RcSuSEfirewall2 {start | stop ...}

RcSuSEfirewall2 is a symbolic connection of/etc/init. d/SuSEfirewall2_setup.

Temporary change command: iptables-save iptabels-restore, etc.

 

3. Firewall System

Based on tables such as filter, nat, mangle, and raw, SUSE is more complex (or more distinctive)

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.