Installing stunnel on your windows machine

NOTE: This is not necessary for department supported systems

    Install stunnel

  1. Download the latest version of stunnel from http://www.stunnel.org. At the time of this writing the latest release was version 4.20
  2. Double-click on the downloaded file to install stunnel
  3. After installation, edit the configuration file. Go to Start -> All Programs -> stunnel -> Edit stunnel.conf

    All you need in your stunnel.conf file is this:

    client = yes
    [smb]
    accept=10.1.1.2:139
    connect=samba.cs.umd.edu:1445
    
  4. Save the file end exit the editor

    Install a loopback device

  5. Open the add hardware wizard from the control panel. (Start -> Control Panel -> Add Hardware)
  6. Wait for it to search in vain for new hardware.
  7. Tell it yes, I've already connected my hardware

  8. Pick add a new device from the bottom of the list.

  9. Select Install the hardware that I manually select from a list (Advanced)

  10. Pick the category Network adapters

  11. Choose Microsoft loopback adapter

  12. Open the Network Connections control panel (Start -> Control Panels -> Network Connections)
  13. Right-click on the loopback device (You can identify it by its device name, Microsoft Loopback Adapter) and select Properties

  14. Deselect all bindings except the TCP/IP ones. Typically you'll need to deselect client for Microsoft networks and File and printer sharing.
  15. Select TCP/IP, and then settings (or properties)

  16. Set the IP address of the loopback device. It should be as shown below, IP of 10.1.1.2, subnet mask of 255.0.0.0, and gateway of 10.0.0.1.

  17. Click Advanced...
  18. Choose the tab titled WINS
  19. Under NetBIOS settings, click on Disable NetBIOS over TCP/IP

    Start stunnel

  20. Install the stunnel service (Start -> All Programs -> stunnel -> Service install)
  21. Start the stunnel service (Start -> All Programs -> stunnel -> Service start)

    Note: Installing and starting a service means that the stunnel connection will be available whenever you restart your system. If you want to run it manually, skip the service install and start steps, and just run stunnel manually ( Start -> All Programs -> stunnel -> Run stunnel )