Changes

Jump to: navigation, search

OPS235 Resources

1,094 bytes added, 20:52, 25 November 2009
Firewall Configuration
== Firewall Configuration ==
Fedora distribution use "netfilter" kernel module for building a Stateful Packet Filtering firewall. Firewall is enable on Fedora Live DVD by default.
=== Default Firewall Setting ===
The default firewall configuration:
* All outgoing packets is allowed.
 
=== Flush out firewall rules in the Filter table ===
To turn off the blocking of Incoming packet, do the following:
[root@localhost ~]# iptables -F
[root@localhost ~]# 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
 
The "iptables -F" command "flushes" out all the firewall rules in the filter table. The "iptables -L" displays the updated firewall rules in the filter table (none left after the iptables -F command).
 
=== Restore default firewall rules to the Filter table ===
To restore the default firewall, do the following:
[root@localhost ~]# service iptables restart
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: raw mangle nat f[ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules:
= Additional Software Package Installation =
1
edit

Navigation menu