Changeset 7410 in genesis for tools


Ignore:
Timestamp:
Jan 23, 2010, 7:26:23 PM (15 years ago)
Author:
richardvm
Message:

Added to posibility to automaticly create a sshtunnel to dellas. This so we always have a back door into the proxy based on the proxyid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/proxy-8.0/wleiden.pl

    r7396 r7410  
    280280  $output .= "static_routes=\"wleiden\"\n";
    281281  $output .= "route_wleiden=\"-net 172.16.0.0/12 $internalroute\"\n";
     282
     283  if( $proxyid ) {
     284    $output .= "\n";
     285    $output .= "sshtun_enable=\"YES\"\n";
     286    $output .= "sshtun_port=\"$proxyid\"";
     287  }
    282288  return($output);
    283289};
Note: See TracChangeset for help on using the changeset viewer.