Internet Gateway

Internet Gateway is a simple MFC Internet Connection sharing application based on Windows Packet Filter. It implements a simple TCP and UDP dynamic NAT and allows sharing single Internet connection over your home network providing the major Internet services (e-mail, WWW, FTP** and etc…).

System Requirements

Windows 2000 Windows 7 Windows Server 2012 R2
Windows XP Windows Server 2008 R2 Windows 10
Windows Server 2003 Windows 8 Windows Server 2016
Windows Vista Widows Server 2012
Windows Server 2008 Windows 8.1

Note: Internet Gateway binaries are built with VC++ 2008 run-time and can’t be used on Windows versions before Windows 2000, however source code can be rebuilt (an example, with Visual Studio 6.0) to support earlier versions of Windows except Windows NT 4.0 and Windows 95 because these operating systems miss GetAdaptersInfo routine from IP Helper API (it’s used for obtaining IP configuration information). Getting the same information under these operating systems is possible, but a bit trickier.

How it works

Internet Gateway is a user mode application based on Windows Packet Filter. It utilizes Windows packet Filter library to capture packets from the network interface, performs Network Address Translation (NAT) and re-injects packets back into the network stack. Internet Gateway also demonstrates how IP Helper API can be used for querying IP address information from the system.

Download

Starting WinpkFilter 3.2 Internet Gateway binaries and source code are included into WinpkFilter Runtime & Tools package. You can download it from Windows Packet Filter homepage.

How to install

Unzip and run the installer. You will have to reboot the system after the installation.

How to use

Server setup:

  • Establish your Internet connection.
  • Start Internet Gateway, you will see the dialog similar to the one below:

ig_sc1

  • Double-click the connection which is used for the Internet (on the screenshot below, we connect Internet using dial-up modem). Set NAT status to “Provider” (you can choose one of the connection IP’s for dynamic NAT). Click OK to finish.

ig_sc2

  • Double-click your home network interface and set its NAT status to “Client”. Click OK.

ig_sc3

  • Start dynamic NAT thread by clicking to “Start NAT” button.

ig_sc4

Client setup:

You have to configure systems in your home network by assigning IP’s statically or using DHCP. Default gateway address and DNS address should be set to the IP of the Server network interface connected to the home network. In the sample above systems in the home network should have IP from 10.0.0.0/24 and DNS/default gateway set to 10.0.0.1.

Price & licensing

Freeware for private (non commercial), or educational (including non-profit organization) use.

Disclaimer

Internet Gateway software is supplied AS-IS, without warranties of any kind.

NOTES:

  • Internet Gateway does not support FTP NAT in active mode (data connection established from server to client), please set your FTP client to passive mode
  • The source code for the Internet Gateway application is included