---
name: "shorewall-rfc1918"
section: "5"
platform: "linux"
package: "shorewall-common"
version: "4.0.15-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://carta.tech/man/shorewall-rfc1918"
---

# shorewall-rfc1918(5)

Shorewall file

## NAME

rfc1918 - Shorewall file

## SYNOPSIS

**/usr/share/shorewall/rfc1918**

## DESCRIPTION

The rfc1918 file determines the handling of connections under the norfc1918 option in *shorewall-interfaces*\[1\](5). Do not modify */usr/share/shorewall/rfc1918*; if you need to change norfc1918 handling, then copy */usr/share/shorewall/rfc1918* to */etc/shorewall/rfc1918* and modify the copy.

The released version of this file logs and drops packets from the three address ranges reserved by RFC 1918:

```
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
```

The columns in the file are as follows.

**SUBNET -** *address*

Subnet address in CIDR format.

**TARGET** - {**RETURN**\|**DROP**\|**logdrop**}

**RETURN** causes packets to/from the specified subnet to be processed normally by the applicable rules and policies.

**DROP** causes packets from the specified subnet to be silently dropped.

**logdrop** causes packets from the specified subnet to be logged at the level specified by the RFC1918\_LOG\_LEVEL option in *shorewall.conf*\[2\](5).

Also, please see the RFC1918\_STRICT option in *shorewall.conf*\[2\](5).

## FILES

/usr/share/shorewall/rfc1918

/etc/shorewall/rfc1918

## SEE ALSO

[shorewall(8)](/man/shorewall/8.md), [shorewall-accounting(5)](/man/shorewall-accounting/5.md), [shorewall-actions(5)](/man/shorewall-actions/5.md), [shorewall-blacklist(5)](/man/shorewall-blacklist/5.md), [shorewall-hosts(5)](/man/shorewall-hosts/5.md), [shorewall-interfaces(5)](/man/shorewall-interfaces/5.md), shorewall-ipsec(5), [shorewall-maclist(5)](/man/shorewall-maclist/5.md), [shorewall-masq(5)](/man/shorewall-masq/5.md), [shorewall-nat(5)](/man/shorewall-nat/5.md), [shorewall-netmap(5)](/man/shorewall-netmap/5.md), [shorewall-params(5)](/man/shorewall-params/5.md), [shorewall-policy(5)](/man/shorewall-policy/5.md), [shorewall-providers(5)](/man/shorewall-providers/5.md), [shorewall-proxyarp(5)](/man/shorewall-proxyarp/5.md), [shorewall-route\_rules(5)](/man/shorewall-route_rules/5.md), [shorewall-routestopped(5)](/man/shorewall-routestopped/5.md), [shorewall-rules(5)](/man/shorewall-rules/5.md), [shorewall.conf(5)](/man/shorewall.conf/5.md), [shorewall-tcclasses(5)](/man/shorewall-tcclasses/5.md), [shorewall-tcdevices(5)](/man/shorewall-tcdevices/5.md), [shorewall-tcrules(5)](/man/shorewall-tcrules/5.md), [shorewall-tos(5)](/man/shorewall-tos/5.md), [shorewall-tunnels(5)](/man/shorewall-tunnels/5.md), [shorewall-zones(5)](/man/shorewall-zones/5.md)

## NOTES

- 1\.

  shorewall-interfaces

  shorewall-interfaces.html

- 2\.

  shorewall.conf

  shorewall.conf.html
