Source Code

  All the following source code is freely available (but unsupported).

DUN Checker: checks if a DUN connection is in place (useful in batch files). [Code]

This sample shows how to dial a DUN Connection, wait for it to be established, and then execute another batch file:

start C:\Users\name\Desktop\MyISP.lnk    ;MyISP.lnk is a shortcut to a DUN connection
check 90                                 ;Wait for 90 secs or until MyISP is up
call addroute.bat                        ;Run another batch file
Sample file addroute.bat:
route delete
route add mask x.x.x.x

Remote Console: A console mode app which communicates with the NAT32 HTTP daemon, allowing direct access to the NAT32 Console. [Code]

NAT Status: A small GUI app which can be run on your private machines and which displays the Dial-Up Networking Status and Internet Connect Status of your NAT32 gateway in your System Tray.

To run it, simply put a shortcut to it on your Desktop, and in the command line of that shortcut, specify NAT32's IP address on your private LAN and (optionally) its MAC Address).

This app shows you if NAT32 is running, if it currently has an Internet Connection, and lets you dial or disconnect as needed. If the NAT32 machine supports Wake On LAN, clicking the Wake button will broadcast a Magic Packet for the specified MAC Address. A command for execution by Windows can also be entered. For example, if you need to connect to the VNC server on the NAT32 machine, simply enter: start to launch your Web Browser and connect to the VNC Server at (the Windows IP address of the NAT32 machine). [Code]


XAMPP Control: A small Windows GUI/Console mode app which lets you control up to four XAMPP modules. It has the advantage that it can be closed after starting any of the modules and does not terminate Apache (or any other module) on exit. [Code]

ftpuser:nat32v2 Shell source code