Tuesday, November 25, 2008

How To Enable Disable Firewall In Linux Shell Command Prompt Iptables

to disable or enable a firewall is easy with fedora. if you have a fedora core distribution of linux, you can send this command to enabled or disabled your firewall that comes pre-installed with fedora.

system-config-securitylevel


After you do that, you will see this:






you can chack to see that it is disabled by running this command:


iptables -L

you should see something like this:

[rootserver1 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 

No comments:

Post a Comment