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:
Sample file addroute.bat: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
route delete 0.0.0.0 route add 0.0.0.0 mask 0.0.0.0 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 http://192.168.178.32:5800 to launch your Web Browser and connect to the VNC Server at 192.168.178.32 (the Windows IP address of the NAT32 machine). [Code]
Internet Status: A small GUI app which can be run on your private machines to display the connectivity state of the NAT32 Main and Alternate gateways. The app also lets the user switch between gateways manually or enable a failover mode that switches between gateways automatically.
BE SURE to add the following commands to your NAT32 user.txt file:
startd udpecho ppmap add udp 7 * startd gatewayd p
To run the app, simply create a shortcut to it on your Desktop. For the command line of that shortcut, specify netstat.exe nat32.box. [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]