<hr>
 
<hr>
    +
<htmlet>fedora</htmlet>
    
A firewall is a vital component in protecting a computer system, or network of computers from external attack (typically from an internet connection). Any computer connected directly to an internet connection must run a firewall to protect against malicious activity. Similarly, any internal network must have some form of firewall between it and an external internet connection.
 
A firewall is a vital component in protecting a computer system, or network of computers from external attack (typically from an internet connection). Any computer connected directly to an internet connection must run a firewall to protect against malicious activity. Similarly, any internal network must have some form of firewall between it and an external internet connection.
 
Fedora Linux is supplied with powerful firewall technology known as ''iptables'' built-in. Entire books can, and indeed have, been written about configuring iptables. If you would like to learn about ''iptables'' we recommend [http://www.linuxtopia.org/Linux_Firewall_iptables/index.html Linux Firewall Configuration - Packet Filtering and iptables].  
 
Fedora Linux is supplied with powerful firewall technology known as ''iptables'' built-in. Entire books can, and indeed have, been written about configuring iptables. If you would like to learn about ''iptables'' we recommend [http://www.linuxtopia.org/Linux_Firewall_iptables/index.html Linux Firewall Configuration - Packet Filtering and iptables].  
   −
Fortunately Fedora Linux also provides some tools which make firewall configuration easy for the average user. This chapter will cover the steps necessary to configure a Fedora Linux firewall using those tools.
+
Fortunately Fedora Linux also provides some tools that make firewall configuration easy for the average user. This chapter will cover the steps necessary to configure a Fedora Linux firewall using those tools.
    
== Fedora Linux Firewall Options ==
 
== Fedora Linux Firewall Options ==
    
Enter your password when prompted. Once loaded, the security level tool should appear as follows:
 
Enter your password when prompted. Once loaded, the security level tool should appear as follows:
<google>ADSDAQBOX_FLOW</google>
+
<htmlet>adsdaqbox_flow</htmlet>
       
== Configuring Other Ports ==
 
== Configuring Other Ports ==
   −
The list of well known ports are not, of course, the only ports available. In fact there are thousands of ports available for use by applications and services. To open a specific port use the ''Other ports'' category of the Firewall Configuration tool. To open a port, click on the ''Add'' button to display the ''Port and Protocol'' dialog shown below:
+
The list of well known ports are not, of course, the only ports available. In fact there are thousands of ports available for use by applications and services. To open a specific port, use the ''Other ports'' category of the Firewall Configuration tool. To open a port, click on the ''Add'' button to display the ''Port and Protocol'' dialog shown below:
       
Port forwarding is used in conjunction with masquerading when the Fedora system is acting as a gateway to the internet for an internal network of computer systems. Port forwarding allows traffic arriving at the firewall via the internet on a specific port to be forwarded to a particular system on the internal network. This is perhaps best described by way of an example.  
 
Port forwarding is used in conjunction with masquerading when the Fedora system is acting as a gateway to the internet for an internal network of computer systems. Port forwarding allows traffic arriving at the firewall via the internet on a specific port to be forwarded to a particular system on the internal network. This is perhaps best described by way of an example.  
   −
Suppose that a Fedora system is acting as the firewall for an internal network of computers. One of the systems on the network is configured as a web server. Lets assume the web server system has an IP address of 192.168.2.20. The domain record for the web site hosted on this system is configured with the public IP address behind which the Fedora firewall system sits. When an HTTP web page request arrives on port 80 the Fedora system acting as the firewall needs to know what to do with it. By configuring port forwarding it is possible to direct all web traffic to the internal system hosting the web server (in this case, IP address 192.168.2.20), either continuing to use port 80 or diverting the traffic to a different port on the destination server. In fact, port forwarding can even be configured to forward the traffic to a different port on the same system as the firewall (a concept known as ''local forwarding'').
+
Suppose that a Fedora system is acting as the firewall for an internal network of computers. One of the systems on the network is configured as a web server. Let's assume the web server system has an IP address of 192.168.2.20. The domain record for the web site hosted on this system is configured with the public IP address behind which the Fedora firewall system sits. When an HTTP web page request arrives on port 80 the Fedora system acting as the firewall needs to know what to do with it. By configuring port forwarding it is possible to direct all web traffic to the internal system hosting the web server (in this case, IP address 192.168.2.20), either continuing to use port 80 or diverting the traffic to a different port on the destination server. In fact, port forwarding can even be configured to forward the traffic to a different port on the same system as the firewall (a concept known as ''local forwarding'').
    
Configure port forwarding by selecting the ''Port Forwarding'' category in the ''Firewall Configuration'' window and clicking on the ''Add'' button. This will display the following dialog:
 
Configure port forwarding by selecting the ''Port Forwarding'' category in the ''Firewall Configuration'' window and clicking on the ''Add'' button. This will display the following dialog:
 
== ICMP Filtering ==
 
== ICMP Filtering ==
   Exception encountered, of type "Error"
[41c5b6d2] /index.php?title=Basic_Fedora_Linux_Firewall_Configuration&diff=29839&oldid=8132 Error from line 434 of /var/www/techotopia/includes/diff/DairikiDiff.php: Call to undefined function each()
Backtrace:
#0 /var/www/techotopia/includes/diff/DairikiDiff.php(544): DiffEngine->diag()
#1 /var/www/techotopia/includes/diff/DairikiDiff.php(344): DiffEngine->compareSeq()
#2 /var/www/techotopia/includes/diff/DairikiDiff.php(227): DiffEngine->diffLocal()
#3 /var/www/techotopia/includes/diff/DairikiDiff.php(721): DiffEngine->diff()
#4 /var/www/techotopia/includes/diff/DairikiDiff.php(859): Diff->__construct()
#5 /var/www/techotopia/includes/diff/DairikiDiff.php(980): MappedDiff->__construct()
#6 /var/www/techotopia/includes/diff/TableDiffFormatter.php(194): WordLevelDiff->__construct()
#7 /var/www/techotopia/includes/diff/DiffFormatter.php(140): TableDiffFormatter->changed()
#8 /var/www/techotopia/includes/diff/DiffFormatter.php(82): DiffFormatter->block()
#9 /var/www/techotopia/includes/diff/DifferenceEngine.php(881): DiffFormatter->format()
#10 /var/www/techotopia/includes/diff/DifferenceEngine.php(797): DifferenceEngine->generateTextDiffBody()
#11 /var/www/techotopia/includes/diff/DifferenceEngine.php(728): DifferenceEngine->generateContentDiffBody()
#12 /var/www/techotopia/includes/diff/DifferenceEngine.php(662): DifferenceEngine->getDiffBody()
#13 /var/www/techotopia/includes/diff/DifferenceEngine.php(632): DifferenceEngine->getDiff()
#14 /var/www/techotopia/includes/diff/DifferenceEngine.php(453): DifferenceEngine->showDiff()
#15 /var/www/techotopia/includes/page/Article.php(797): DifferenceEngine->showDiffPage()
#16 /var/www/techotopia/includes/page/Article.php(508): Article->showDiffPage()
#17 /var/www/techotopia/includes/actions/ViewAction.php(44): Article->view()
#18 /var/www/techotopia/includes/MediaWiki.php(490): ViewAction->show()
#19 /var/www/techotopia/includes/MediaWiki.php(287): MediaWiki->performAction()
#20 /var/www/techotopia/includes/MediaWiki.php(714): MediaWiki->performRequest()
#21 /var/www/techotopia/includes/MediaWiki.php(508): MediaWiki->main()
#22 /var/www/techotopia/index.php(41): MediaWiki->run()
#23 {main}