Mekabe Ramein wrote:
> Hi,
> 
> I have configured my router with 2 ppp interfaces (ppp0 and ppp1
> connected to 2 adsl connections)
> And Shorewall's "providers" file is configured like:
> kocnet1 1       1       main    ppp0    -       track,balance,optional  br0
> kocnet2 2       2       main    ppp1    -       track,balance,optional  br0
> 
> Both connections are masquareding the outgoing packets with their IP
> addresses:
> br0-> ppp0 (nat)
> br0-> ppp1 (nat)
> 
> It is working as expected.
> 
> I am running vpnc packet to start a vpn (Cisco) to my company. When vpnc
> is run, a new interface (tun0) is created and because of its split
> tunnel feature, my linux router receives some routes to its default
> routing table.
> 
> Ok; now my problem begins:
> How can I make my client on the br0 interface use the tun0 interface and
> connect to the servers which are in the received routes ?
> 
> I must masquarade br0 to tun0 but I should also use the received routes
> as prioritized.

Masquerading to tun0 works just like masquerading to any other device.

> 
> How can I do that ?

Have you read the 'Multi-ISP and VPN' section of
http://www.shorewall.net/MultiISP.html?

-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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to