Ignore:
Timestamp:
May 8, 2019, 8:22:45 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Made some links to follow http/https protocol.
  • Modified: Simplified .htaccess.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/Generators/FirewallNAT.php

    r781 r860  
    110110
    111111    // Accept free-access clients
    112     $Items[] = array('chain' => 'dstnat', 'dst-address' => '!10.145.0.0/16',
    113         'src-address-list' => 'free-access', 'in-interface' => $LocalInterface,
    114         'action' => 'accept', 'comment' => 'Free_access');
     112    //$Items[] = array('chain' => 'dstnat', 'dst-address' => '!10.145.0.0/16',
     113    //    'src-address-list' => 'free-access', 'in-interface' => $LocalInterface,
     114    //    'action' => 'accept', 'comment' => 'Free_access');
    115115    // Redirect unregistred clients to free access activation page
    116     $Items[] = array('chain' => 'dstnat', 'dst-address' => '!10.145.0.0/16',
    117         'src-address-list' => 'unregistred', 'in-interface' => $LocalInterface, 'protocol' => 'tcp',
    118         'action' => 'dst-nat', 'to-addresses' => '10.145.64.70', 'to-ports' => 8080, 'comment' => 'Redirect_unregistred');
     116    //$Items[] = array('chain' => 'dstnat', 'dst-address' => '!10.145.0.0/16',
     117    //    'src-address-list' => 'unregistred', 'in-interface' => $LocalInterface, 'protocol' => 'tcp',
     118    //    'action' => 'dst-nat', 'to-addresses' => '10.145.64.70', 'to-ports' => 8080, 'comment' => 'Redirect_unregistred');
    119119
    120120    // Masquerade hosts without public ip
Note: See TracChangeset for help on using the changeset viewer.