shorewall-modules (5) - Linux Manuals

shorewall-modules: Shorewall file

NAME

modules - Shorewall file

SYNOPSIS

/usr/share/shorewall/modules
/usr/share/shorewall/helpers

DESCRIPTION

These files specify which kernel modules Shorewall will load before trying to determine your iptables/kernel's capabilities.

The modules file is used when LOAD_HELPERS_ONLY=No in m[blue]shorewall.confm[][1](8); the helpers file is used when LOAD_HELPERS_ONLY=Yes

Each record in the files has the following format:

loadmodule modulename [moduleoption...]

The modulename names a kernel module (without suffix). Shorewall will search for modules based on your MODULESDIR and MODULE_SUFFIX settings in m[blue]shorewall.confm[][1](8). The moduleoptions are passed to modprobe (if installed) or to insmod.

The /usr/share/shorewall/modules file contains a large number of modules. Users are encouraged to copy the file to /etc/shorewall/modules and modify the copy to load only the modules required or to use LOAD_HELPERS_ONLY=Yes..if n


Note

If you build monolithic kernels and have not installed module-init-tools, then create an empty /etc/shorewall/modules file; that will prevent Shorewall from trying to load modules at all.

EXAMPLE

loadmodule ip_conntrack_ftp ports=21,221

FILES

/usr/share/shorewall/modules

/usr/share/shorewall/helpers

/etc/shorewall/modules

/etc/shorewall/helpers

NOTES

1.
shorewall.conf
http://www.shorewall.net/manpages/shorewall.conf.html