Chapter 14. Linux Firewalls Using iptables
In This Chapter
What Is iptables? Download and Install theiptablesPackage How to Startiptables Determining the Status ofiptables Packet Processing iniptables Targets and Jumps ImportantiptablesCommand Switch Operations Using User-Defined Chains Saving youriptablesScripts Fedora'siptablesRule Generator Recovering from a Lost Script Loading Kernel Modules Needed byiptables SampleiptablesScripts Troubleshootingiptables Conclusion
Network security is a primary consideration in any decision to host a Web site as the threats are becoming more widespread and persistent every day. One means of providing additional protection is to invest in a firewall. Though prices are always falling, in some cases you may be able to create a comparable unit using the Linux iptables package on an existing server for little or no additional expenditure.
This chapter shows how to convert a Linux server into:
A firewall while simultaneously being your home Web site's mail, Web, and DNS server A router that will use NAT and port forwarding to both protect your home network and have another Web server on your home network while sharing the public IP address of your firewall
Creating an iptables firewall script requires many steps, but with the aid of the sample tutorials, you should be able to complete a configuration relatively quickly.
|