Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

How Do we Check Firewall on linux

Check the Status of The Iptables IPv4 Firewall
Run the following command to check the status of the iptables IPv4 firewall :
# service iptables status

Check the Status of The Iptables IPv6 Firewall

Run the following command to check the status of the iptables IPv6 firewall :
# service ip6tables status

Disable The Iptables Firewall

Use the following commands to stop the Iptables Firewall and remove it from autostart.

Disable The Iptables IPv4 Firewall

Run the following commands to stop the iptables firewall for IPv4 :
# service iptables save
# service iptables stop
# chkconfig iptables off

Disable The Iptables IPv6 Firewall

Run the following commands to stop the iptables firewall for IPv6 :
# service ip6tables save
# service ip6tables stop
# chkconfig ip6tables off

Enable The Iptables Firewall

Use the following commands to start the Iptables Firewall and add it to autostart.

Enable The Iptables IPv4 Firewall

Run the following commands to start the iptables firewall for IPv4 :
# service iptables start
# chkconfig iptables on

Enable The Iptables IPv6 Firewall

Run the following commands to start the iptables firewall for IPv6 :
# service ip6tables start
# chkconfig ip6tables on

Comments

Popular posts from this blog

Oracle DBMS SCHEDULER Examples

How to find the server is whether standby (slave) or primary(master) in Postgresql replication ?

7 Steps to configure BDR replication in postgresql

How to Get Table Size, Database Size, Indexes Size, schema Size, Tablespace Size, column Size in PostgreSQL Database

How to Enable/Disable autovacuum on PostgreSQL