at CLIENT checked
> /etc/shorewall/interfaces:
>
> vpn tun+ optional,...
/interfaces
net EXT_IF
physical=eth0,tcpflags,nosmurfs,logmartians=1,sourceroute=0
lan INT_IF physical=eth1,logmartians=1
vpn1 tun+ -
> /etc/shorewall/providers:
>
> isp 1 - eth0 detect balance
> vpn 2 - tun1 detect fallback
at CLIENT I added
/providers
isp 1 - eth0 detect balance
vpn 2 - tun1 detect fallback
a /mangle file did NOT exist in the install so I created it
/mangle
MARK(2):P eth1 - tcp 25
When I try to compile it
Compiling /usr/local/etc/shorewall/client/providers...
ERROR: Unknown Interface (detect) /usr/local/etc/shorewall/providers
(line 1)
Taking a look at some examples that /providers example is maybe missing a
column?
/providers
- isp 1 - eth0 detect balance
- vpn 2 - tun1 detect fallback
+ isp 1 - main eth0 detect balance
+ vpn 2 - main tun1 detect fallback
but that makes it worse. at compile,
Compiling /usr/local/etc/shorewall/client/providers...
Use of uninitialized value $physical in pattern match (m//) at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Providers.pm line 463,
<$currentfile> line 1.
Use of uninitialized value $var in hash element at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Zones.pm line 983, <$currentfile>
line 1.
Use of uninitialized value $var in substitution (s///) at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Zones.pm line 995, <$currentfile>
line 1.
Use of uninitialized value in transliteration (tr///) at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Zones.pm line 996, <$currentfile>
line 1.
Use of uninitialized value $var in string eq at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Zones.pm line 998, <$currentfile>
line 1.
Use of uninitialized value $var in substitution (s///) at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Zones.pm line 1002, <$currentfile>
line 1.
Use of uninitialized value $var in pattern match (m//) at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Zones.pm line 1006, <$currentfile>
line 1.
Use of uninitialized value $var in join or string at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Zones.pm line 1010, <$currentfile>
line 1.
Use of uninitialized value $key in hash element at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Zones.pm line 1024, <$currentfile>
line 1.
Use of uninitialized value $interface in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Chains.pm line 6646, <$currentfile>
line 1.
Use of uninitialized value $interface in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Chains.pm line 6646, <$currentfile>
line 1.
Use of uninitialized value $interface in hash element at
/usr/lib/perl5/vendor_perl/5.18.1/Shorewall/Chains.pm line 6646, <$currentfile>
line 1.
ERROR: A provider interface must have at least one associated zone
/usr/local/etc/shorewall/client/providers (line 1)
back to reading more about this multi-isp stuff
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users