Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files/CA/arcserve Unified Data Protection/Engine/BIN/Appliance/ |
Upload File : |
@set argc=0 @for %%i in (%*) do set /A argc+=1 @if %argc% LSS 2 goto ENDEND sc config remoteaccess start=auto sc config ramgmtsvc start=auto rem net stop ramgmtsvc net stop remoteaccess netsh routing ip nat uninstall netsh routing ip nat install netsh routing ip nat set global tcptimeoutmins=1440 udptimeoutmins=1 loglevel=ERROR if not %1=="" netsh routing ip nat add interface name=%1 mode=PRIVATE && netsh interface ipv4 set interface %1 forwarding=enabled if not %2=="" netsh routing ip nat add interface name=%2 mode=FULL && netsh interface ipv4 set interface %2 forwarding=enabled rem rem3rdpara netsh ras set conf confstate=enabled netsh ras set type ipv4rtrtype = lanonly ipv6rtrtype = none rastype = none net start remoteaccess rem net start ramgmtsvc exit :ENDEND echo "input at least 2 subnets"