Shorewall Documentation

Tom Eastep

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover, and with no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.

2004-07-20


Caution

Are you running Shorewall on Mandrake™ Linux with a two-interface setup?

If so and if you configured your system while running a Mandrake release earlier than 10.0 final then this documentation will not apply directly to your environment. If you want to use the documentation that you find here, you will want to consider uninstalling what you have and installing a configuration that matches this documentation. See the Two-interface QuickStart Guide for details.

The remainder of the Documentation supplements the QuickStart Guides. Please review the appropriate guide before trying to use this documentation directly.

  1. 2.6 Kernel

  2. Accounting

  3. Aliased (virtual) Interfaces (e.g., eth0:0)

  4. Bandwidth Control

  5. Blacklisting

    • Static Blacklisting using /etc/shorewall/blacklist

    • Dynamic Blacklisting using /sbin/shorewall

  6. Bridge/Firewall

  7. Commands (Description of all /sbin/shorewall commands)

  8. Common configuration file features 

  9. Configuration File Reference Manual

  10. Corporate Network Example (Contributed by a Graeme Boyle)

  11. DHCP

  12. ECN Disabling by host or subnet

  13. Errata

  14. Extension Scripts (How to extend Shorewall without modifying Shorewall code through the use of files in /etc/shorewall -- /etc/shorewall/start, /etc/shorewall/stopped, etc.)

  15. Fallback/Uninstall

  16. FAQs

  17. Features

  18. Forwarding Traffic on the Same Interface

  19. FTP and Shorewall

  20. Getting help or answers to questions

  21. Installation/Upgrade

  22. IPSEC

  23. Kazaa Filtering

  24. Kernel Configuration

  25. Logging

  26. MAC Verification

  27. Multiple Zones Through One Interface

  28. My Shorewall Configuration (How I personally use Shorewall)

  29. Netfilter Overview

  30. Network Mapping

  31. One-to-one NAT (Static NAT)

  32. OpenVPN

  33. Operating Shorewall

  34. Packet Processing in a Shorewall-based Firewall

  35. 'Ping' Management

  36. Port Information

    • Which applications use which ports

    • Ports used by Trojans

  37. PPTP

  38. Proxy ARP

  39. Release Model

  40. Requirements

  41. Routing on One Interface

  42. Samba

  43. Shorewall Setup Guide

  44. SMB

  45. Starting/stopping the Firewall

    • Description of all /sbin/shorewall commands

    • How to safely test a Shorewall configuration change

  46. Squid with Shorewall

  47. Static (one-to-one) NAT

  48. Traffic Accounting

  49. Traffic Shaping/QOS

  50. Troubleshooting (Things to try if it doesn't work)

  51. User-defined Actions

  52. UID/GID Based Rules

  53. Upgrade Issues

  54. VPN

  55. White List Creation