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
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
Post a Comment