1SHOREWALL-ROUTES(5)           Configuration Files          SHOREWALL-ROUTES(5)
2
3
4

NAME

6       routes - Shorewall file
7

SYNOPSIS

9       /etc/shorewall[6]/routes
10

DESCRIPTION

12       This file was added in Shorewall 4.4.15 and is used to define routes to
13       be added to provider routing tables.
14
15       The columns in the file are as follows.
16
17       PROVIDER
18           The name or number of a provider defined in shorewall-providers[1]
19           (5). Beginning with Shorewall 4.5.14, you may also enter main in
20           this column to add routes to the main routing table.
21
22       DEST
23           Destination host address or network address.
24
25       GATEWAY (Optional)
26           If specified, gives the IP address of the gateway to the DEST.
27
28           Beginning with Shorewall 4.5.14, you may specify blackhole in this
29           column to create a blackhole route.
30
31           Beginning with Shorewall 4.5.15, you may specify prohibit or
32           unreachable in this column to create a prohibit or unreachable
33           route respectively.
34
35       DEVICE (Optional)
36           Specifies the device route. If neither DEVICE nor GATEWAY is given,
37           then the INTERFACE specified for the PROVIDER in
38           shorewall-providers[1] (5). This column must be omitted if
39           blackhole, prohibit or unreachable is specified in the GATEWAY
40           column.
41
42       OPTIONS (Optional)
43           Added in Shorewall 5.0.2.
44
45           Allowed options are:
46
47           persistent
48               If specified, the route remains in the provider's routing table
49               even when the provider is disabled.
50

FILES

52       /etc/shorewall/routes
53
54       /etc/shorewall6/routes
55

SEE ALSO

57       https://shorewall.org/configuration_file_basics.htm#Pairs[2]
58
59       shorewall(8)
60

NOTES

62        1. shorewall-providers
63           https://shorewall.org/manpages/shorewall-providers.html
64
65        2. https://shorewall.org/configuration_file_basics.htm#Pairs
66           https://shorewall.org/configuration_file_basics.htm#Pairs
67
68
69
70Configuration Files               09/24/2020               SHOREWALL-ROUTES(5)
Impressum