Ignore:
Timestamp:
Dec 23, 2008, 8:23:59 AM (16 years ago)
Author:
george
Message:
  • Upraveno: Skripty pro generování nastavení routeru.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • system/generators/global.php

    r37 r128  
    22
    33$MaxSubnet = 7;
    4 
     4$InetInterface = 'eth3';
    55
    66/*
    7 
    87function ToVpnIp($Host)
    9 { 
    10   if($Host['external_ip'] == '') 
     8{
     9  if($Host['external_ip'] == '')
    1110  {
    1211    $Parts = explode('.', $Host['IP']);
    1312    return('172.16.'.$Parts[2].'.'.$Parts[3]);
    14   } else 
     13  } else
    1514  {
    1615    return($Host['external_ip']);
     
    1918
    2019function ToCzfreeIp($Host)
    21 { 
     20{
    2221    $Parts = explode('.', $Host['external_ip']);
    2322    if($Host['name'] == 'CENTRALA') return('10.144.1.1');
Note: See TracChangeset for help on using the changeset viewer.