---
name: "shorewall-params"
section: "5"
platform: "linux"
package: "shorewall"
version: "5.2.8-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/shorewall-params"
---

# shorewall-params(5)

Shorewall parameters file

## NAME

params - Shorewall parameters file

## SYNOPSIS

**/etc/shorewall\[6\]/params**

## DESCRIPTION

Assign any shell variables that you need in this file. The file is always processed by /bin/sh so the full range of shell capabilities may be used.

It is suggested that variable names begin with an upper case letter to distinguish them from variables used internally within the Shorewall programs

The following variable names must be avoided. Those in **bold font** must be avoided in all Shorewall versions; those in regular font must be avoided in versions prior to 4.4.8.

**Any option from shorewall.conf**\[1\]\
       **(5)**

**COMMAND**

**CONFDIR**

DEBUG

ECHO\_E

ECHO\_N

EXPORT

FAST

FILEMODE

HOSTNAME

IPT\_OPTIONS

NOROUTES

PREVIEW

PRODUCT

PROFILE

PURGE

RECOVERING

RESTOREPATH

RING\_BELL

**SHAREDIR**

**Any name beginning with SHOREWALL\_ or**\
       **SW\_**

STOPPING

TEST

TIMESTAMP

USE\_VERBOSITY

**VARDIR**

VERBOSE

VERBOSE\_OFFSET

VERSION

Example params file:

```
NET_IF=eth0
NET_BCAST=130.252.100.255
NET_OPTIONS=routefilter
```

Example **shorewall-interfaces**\[2\](5) file.

```
ZONE    INTERFACE       BROADCAST       OPTIONS
net     $NET_IF         $NET_BCAST      $NET_OPTIONS
```

This is the same as if the interfaces file had contained:

```
ZONE    INTERFACE       BROADCAST       OPTIONS
net     eth0            130.252.100.255 routefilter
```

## FILES

/etc/shorewall/params

/etc/shorewall6/params

## SEE ALSO

**https://shorewall.org/configuration\_file\_basics.htm#Variables**\[3\]

[shorewall(8)](/shorewall/8.md)

## NOTES

- 1\.

  shorewall.conf

  https://shorewall.org/manpages/shorewall.conf.html

- 2\.

  shorewall-interfaces

  https://shorewall.org/manpages/shorewall-interfaces.html

- 3\.

  https://shorewall.org/configuration\_file\_basics.htm#Variables

  https://shorewall.org/configuration\_file\_basics.htm#Variables
