On 9/7/12 6:15 AM, Nico Pagliaro wrote:
> I FOUND IT!!!
> I forget to COPY in the providers!!!
> Thanks for everything
> Now the providers is like this:
> 
> #NAME   NUMBER  MARK    DUPLICATE       INTERFACE       GATEWAY        
> OPTIONS         COPY
> voip         1                1       main                         ppp0
>                 detect                  track          eth0,ppp2
> internet     2               2       main                         ppp1  
>               detect                  track          eth0,ppp2
> 

You may want to consider this configuration:

shorewall.conf:

USE_DEFAULT_RT=Yes

providers:

#NAME    NUM MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY
voip     1   1    -         ppp0      -       track   -
internet 2   2    -         ppp1      -       track   -

With your current configuration, if the VPN link goes down and comes
back up, you have to restart Shorewall to get things working again.

Also, you can get rid of the 'masq' entries for eth0 and ppp2.

If you decide to try this configuration, use 'shorewall stop; shorewall
start' to install it.

-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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to