From 84fab0ebda919d8479a785dc94e741e207407023 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 29 Aug 2009 09:05:14 -0700 Subject: [PATCH] Minor update to MultiISP doc --- docs/MultiISP.xml | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/docs/MultiISP.xml b/docs/MultiISP.xml index 10c07aae4..6d13677d2 100644 --- a/docs/MultiISP.xml +++ b/docs/MultiISP.xml @@ -235,9 +235,22 @@ Use mark values > 255 for provider marks in this - column. These mark values must be a multiple of 256 in the - range 256-65280 (hex equivalent 0x100 - 0xFF00 with the - low-order 8 bits being zero). + column. + + + + These mark values must be a multiple of 256 in the + range 256-65280 (hex equivalent 0x100 - 0xFF00 with the + low-order 8 bits being zero); or + + + + Set WIDE_TC_MARKS=Yes in shorewall.conf + (5) and use mark values in the range 0x10000 - + 0xFF0000 with the low-order 16 bits being zero. + + @@ -265,10 +278,10 @@ The name of the interface to the provider. Where multiple - providers share the same interface (which is not recommended), you - must follow the name of the interface by a colon (":") and the IP - address assigned by this provider (e.g., eth0:206.124.146.176). - See below for additional + providers share the same interface, you must follow the name of + the interface by a colon (":") and the IP address assigned by this + provider (e.g., eth0:206.124.146.176). See below for additional considerations. The interface must have been previously defined in Once routing determines where the packet is to go, the - firewall (Shorewall) determines if the packet is allowed to go - there. + firewall (Shorewall) determines if the packet is allowed to go there + and controls rewriting of the SOURCE IP address + (SNAT/MASQUERADE). @@ -655,7 +669,7 @@ eth1 0.0.0.0/0 130.252.99.27 internal subnetwork. If you have multiple IP addresses on one of your interfaces, you - can use a similar technique -- simple exclude the smallest network that + can use a similar technique -- simplY exclude the smallest network that contains all of those addresses from being masqueraded. @@ -1351,7 +1365,7 @@ fi creates a secondary configuration file (/etc/lsm/shorewall.conf) that contains the link configurations. That file is included by - /etc/lsm/lsm.conf. + /etc/lsm/lsm.conf.B Below are my relevant configuration files.