On 2/23/2014 6:44 AM, Orlandinei Vujanski wrote:
> Tom, 
> Good afternoon, all right? 
> Can you help me? 
> 
> I have 2 ISP link on my firewall, with the gateway: 
> eth0: 177.135.78.1 
> eth1: 10.0.0.1 
> 
> I also have 2 local network, being: 
> eth2: 192.168.16.0/24 
> eth3: 10.1.0.0/20 
> 
> How do I do so that the network 192.168.16.0/24
> 177.135.78.1 and exit through the Internet gateway at 10.0.0.1
> 10.1.0.0/20 skirt? 
> 
> Thank you

In /etc/shorewall/tcrules:

        m:P     192.168.16.0/24

Where 'm' is the mark for the provider with gateway 10.0.0.1.

-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

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to