1SHOREWALL6-ROUTE_RU(5)          [FIXME: manual]         SHOREWALL6-ROUTE_RU(5)
2
3
4

NAME

6       route_rules - Shorewall6 Routing Rules file
7

SYNOPSIS

9       /etc/shorewall6/route_rules
10

DESCRIPTION

12       Entries in this file cause traffic to be routed to one of the providers
13       listed in shorewall6-providers[1](5).
14
15       The columns in the file are as follows.
16
17       SOURCE (Optional) - {-|interface|address|interface:<address>}
18           An ip address (network or host) that matches the source IP address
19           in a packet. May also be specified as an interface name optionally
20           followed by ":" and an address. If the device lo is specified, the
21           packet must originate from the firewall itself.
22
23       DEST (Optional) - {-|address}
24           An ip address (network or host) that matches the destination IP
25           address in a packet.
26
27           If you choose to omit either SOURCE or DEST, place "-" in that
28           column. Note that you may not omit both SOURCE and DEST.
29
30       PROVIDER - {provider-name|provider-number|main}
31           The provider to route the traffic through. May be expressed either
32           as the provider name or the provider number. May also be main or
33           254 for the main routing table. This can be used in combination
34           with VPN tunnels, see example 2 below.
35
36       PRIORITY - priority
37           The rule's numeric priority which determines the order in which the
38           rules are processed. Rules with equal priority are applied in the
39           order in which they appear in the file.
40
41           1000-1999
42               Before Shorewall6-generated 'MARK' rules
43
44           11000-11999
45               After 'MARK' rules but before Shorewall6-generated rules for
46               ISP interfaces.
47
48           26000-26999
49               After ISP interface rules but before 'default' rule.
50

EXAMPLES

52       Example 1:
53           You want all traffic coming in on eth1 to be routed to the ISP1
54           provider.
55
56                       #SOURCE                 DEST            PROVIDER        PRIORITY
57                       eth1                    -               ISP1            1000
58

FILES

60       /etc/shorewall6/route_rules
61

SEE ALSO

63       http://shorewall.net/MultiISP.html
64
65       shorewall6(8), shorewall6-accounting(5), shorewall6-actions(5),
66       shorewall6-blacklist(5), shorewall6-hosts(5), shorewall6-interfaces(5),
67       shorewall6-maclist(5), shorewall6-params(5), shorewall6-policy(5),
68       shorewall6-providers(5), shorewall6-routestopped(5),
69       shorewall6-rules(5), shorewall6.conf(5), shorewall6-secmarks(5),
70       shorewall6-tcclasses(5), shorewall6-tcdevices(5),
71       shorewall6-tcrules(5), shorewall6-tos(5), shorewall6-tunnels(5),
72       shorewall6-zones(5)
73

NOTES

75        1. shorewall6-providers
76           http://www.shorewall.net/manpages6/shorewall6-providers.html
77
78
79
80[FIXME: source]                   09/16/2011            SHOREWALL6-ROUTE_RU(5)
Impressum