diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 2ca4d5c05..dfac4ad3b 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -1636,6 +1636,7 @@ sub map_provider_to_interface() { sub setup_providers() { our $providers; + our $pseudoproviders; if ( $providers ) { if ( $maxload ) { @@ -1670,6 +1671,11 @@ sub setup_providers() { push_indent; + if ( $pseudoproviders ) { + emit ''; + emit "start_$providers{$_}->{what}_$_" for @providers; + } + emit "\nundo_routing"; emit "restore_default_route $config{USE_DEFAULT_RT}";