mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-02 19:09:33 +01:00
Add another example to the route_rules file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3880 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a4de8bd153
commit
b6e4852d30
@ -27,7 +27,9 @@
|
|||||||
# PROVIDER The provider to route the traffic through.
|
# PROVIDER The provider to route the traffic through.
|
||||||
# May be expressed either as the provider name
|
# May be expressed either as the provider name
|
||||||
# or the provider number. May also be 'main'
|
# or the provider number. May also be 'main'
|
||||||
# or 254 for the main routing table.
|
# or 254 for the main routing table. This can
|
||||||
|
# be used in combination with VPN tunnels, see
|
||||||
|
# example 2 below.
|
||||||
#
|
#
|
||||||
# PRIORITY
|
# PRIORITY
|
||||||
# The rule's priority which determines the order
|
# The rule's priority which determines the order
|
||||||
@ -46,12 +48,22 @@
|
|||||||
# Rules with equal priority are applied in
|
# Rules with equal priority are applied in
|
||||||
# the order in which they appear in the file.
|
# the order in which they appear in the file.
|
||||||
#
|
#
|
||||||
# Example: You want all traffic coming in on eth1 to be routed to the ISP1
|
# Example 1: You want all traffic coming in on eth1 to be routed to the ISP1
|
||||||
# provider:
|
# provider:
|
||||||
#
|
#
|
||||||
# #SOURCE DEST PROVIDER PRIORITY
|
# #SOURCE DEST PROVIDER PRIORITY
|
||||||
# eth1 - ISP1 1000
|
# eth1 - ISP1 1000
|
||||||
#
|
#
|
||||||
|
# Example 2: You use OpenVPN (routed setup /tunX) in combination with multiple
|
||||||
|
# providers. In this case you have to set up a rule to ensure that
|
||||||
|
# the OpenVPN traffic is routed back through the tunX interface(s)
|
||||||
|
# rather than through any of the providers. 10.8.0.0/24 is the
|
||||||
|
# subnet choosen in your OpenVPN configuration (server 10.8.0.0
|
||||||
|
# 255.255.255.0)
|
||||||
|
#
|
||||||
|
# #SOURCE DEST PROVIDER PRIORITY
|
||||||
|
# - 10.8.0.0/24 ISP1 1000
|
||||||
|
#
|
||||||
# For additional information, see http://www.shorewall.net/MultiISP.html
|
# For additional information, see http://www.shorewall.net/MultiISP.html
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#SOURCE DEST PROVIDER PRIORITY
|
#SOURCE DEST PROVIDER PRIORITY
|
||||||
|
Loading…
Reference in New Issue
Block a user