On 5/28/2015 3:10 PM, Wesley Channon wrote:
> Hi there!
>
> I'm trying to setup Shorewall 4.5.21.6 on an Ubuntu 14.04 machine, that
> has 2 subnets provided by my upstream provider, that each have their own
> gateway.  The server only has a single network interface.
>
> Example:
>
> Range 1: 192.168.1.240/29 - GW: 192.168.1.241
> Range 2: 192.168.2.0/28 - GW: 192.168.2.1
>
> I've configured all of the IP addresses as aliases on eth0 (example:
> eth0:1 eth0:2 etc).  I'm able to access each of these IP addresses
> externally, but when rules are applied to the second range, they do not
> appear to be working (a reject rule for example).  Also, outgoing
> traffic for the second range tries to go via the first gateway.
>
> I've even tried configuring the gateway to each of the IP addresses
> via /etc/network/interfaces to no avail.
>
> If someone can advise or point me in the right direction, it would be
> much appreciated.
>
> I've been using Shorewall for a number of years now, and have not run
> into this issue before.
>
Have a look at http://www.shorewall.org/MultiISP.html#Shared.

-Tom

-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to