Shorewall 5.* Manpages

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.

2020/02/16


Warning

These manpages are for Shorewall 5.0 and later only. They describe features and options not available on earlier releases. The manpages for Shorewall 4.4-4.6 are available here.

Section 5 — Files and Concepts

accounting - Define IP accounting rules.
actions - Declare user-defined actions.
addresses - Describes how IP address and ports are specified in Shorewall
arprules - (Added in Shorewall 4.5.12) Define arpfilter rules.
blrules - shorewall Blacklist file.
conntrack - Specify helpers for connections or exempt certain traffic from netfilter connection tracking.
ecn - Disabling Explicit Congestion Notification
exclusion - Excluding hosts from a network or zone
files - Describes the shorewall configuration files
hosts - Define multiple zones accessed through a single interface
interfaces - Define the interfaces on the system and optionally associate them with zones.
ipsets - Describes how to specify set names in Shorewall configuration files.
logging - Provides an overview of Shorewall packet logging facilities
maclist - Define MAC verification.
mangle - Supersedes tcrules and describes packet/connection marking.
masq - Define Masquerade/SNAT (deprecated)
modules - Specify which kernel modules to load (Removed in Shorewall 5.2.3)
names - Describes object naming in Shorewall configuration files
nat - Define one-to-one NAT.
nesting - How to define nested zones.
netmap - How to map addresses from one net to another.
params - Assign values to shell variables used in other files.
policy - Define high-level policies for connections between zones.
providers - Define routing tables, usually for multiple Internet links.
proxyarp - Define Proxy ARP (IPv4)
proxyndp - Define Proxy NDP (IPv6)
rtrules - Define routing rules.
routes - (Added in Shorewall 4.4.15) Add additional routes to provider routing tables.
rules - Specify exceptions to policies, including DNAT and REDIRECT.
secmarks - Attach an SELinux context to a packet.
snat - Define Masquerade/SNAT
tcclasses - Define htb classes for traffic shaping.
tcdevices - Specify speed of devices for traffic shaping.
tcfilters - Classify traffic for shaping; often used with an IFB to shape ingress traffic.
tcinterfaces - Specify devices for simplified traffic shaping.
tcpri - Classify traffic for simplified traffic shaping.
tunnels - Define VPN connections with endpoints on the firewall.
shorewall.conf - Specify values for global Shorewall options.
shorewall6.conf - Specify values for global Shorewall6 options.
shorewall-lite.conf - Specify values for global Shorewall Lite options.
shorewall6-lite.conf - Specify values for global Shorewall6 Lite options.
vardir - Redefine the directory where Shorewall keeps its state information.
vardir-lite - Redefine the directory where Shorewall Lite keeps its state information.
zones - Declare Shorewall zones.

Section 8 — Administrative Commands

shorewall - /sbin/shorewall, /sbin/shorewall6/, /sbin/shorewall-lite and /sbin/shorewall6-lite command syntax and semantics.

Documentation


Frequently Used Articles

- FAQs - Manpages - Configuration File Basics - Beginner Documentation - Troubleshooting

Shorewall 4.4/4.5/4.6 Documentation

Shorewall 4.0/4.2 Documentation


Shorewall 5.0/5.1/5.2 HOWTOs and Other Articles

- 6to4 and 6in4 Tunnels - Accounting - Actions - Aliased (virtual) Interfaces (e.g., eth0:0) - Anatomy of Shorewall - Anti-Spoofing Measures - AUDIT Target support - Bandwidth Control - Blacklisting/Whitelisting - Bridge/Firewall - Building Shorewall from GIT - Commands - Compiled Programs - Configuration File Basics - DHCP - DNAT - Docker - Dynamic Zones - ECN Disabling by host or subnet - Events - Extension Scripts - Fallback/Uninstall - FAQs - Features - Fool's Firewall - Forwarding Traffic on the Same Interface - FTP and Shorewall - Helpers/Helper Modules - Installation/Upgrade - IPP2P - IPSEC - Ipsets - IPv6 Support - ISO 3661 Country Codes - Kazaa Filtering - Kernel Configuration - KVM (Kernel-mode Virtual Machine) - Limiting Connection Rates - Linux Containers (LXC) - Linux-vserver - Logging - Macros - MAC Verification - Manpages - Manual Chains - Masquerading - Multiple Internet Connections from a Single Firewall - Multiple Zones Through One Interface - My Shorewall Configuration - Netfilter Overview - Network Mapping - No firewalling of traffic between bridge port - One-to-one NAT - Operating Shorewall - OpenVPN - OpenVZ - Packet Marking - Packet Processing in a Shorewall-based Firewall - 'Ping' Management - Port Forwarding - Port Information - Port Knocking (deprecated) - Port Knocking, Auto Blacklisting and Other Uses of the 'Recent Match' - PPTP - Proxy ARP - QuickStart Guides - Release Model - Requirements - Routing and Shorewall - Routing on One Interface - Samba - Shared Shorewall/Shorewall6 Configuration - Shorewall Events - Shorewall Init - Shorewall Lite - Shorewall on a Laptop - Shorewall Perl - Shorewall Setup Guide - SMB - SNAT - Split DNS the Easy Way - Squid with Shorewall - Starting/stopping the Firewall - Static (one-to-one) NAT - Support - Tips and Hints - Traffic Shaping/QOS - Simple - Traffic Shaping/QOS - Complex - Transparent Proxy - UPnP - Upgrade Issues - Upgrading to Shorewall 4.4 (Upgrading Debian Lenny to Squeeze) - VPN - VPN Passthrough - White List Creation - Xen - Shorewall in a Bridged Xen DomU - Xen - Shorewall in Routed Xen Dom0

Top of Page