Monday, May 13, 2013

How to make Internet Connection Sharing - ICS - on Windows

This tutorial explains how you can get your gaming console, television or similar network-capable device to use the VPN via Internet Connection Sharing (ICS).It has been made for Windows Vista/7;

As mentioned, you can use this tutorial for any network capable devices - computer, laptop, gaming console, NAS drive, TV, etc.

Connection: ADSL router> via WiFi > Laptop > via Ethernet > PS3 Console

First you need to verify your computers IP address. You will need to find what IP addresses
the DHCP router is broadcasting. The common addresses are 192.168.1.X or 192.168.0.X
To check please do the following:
  1. Open network and sharing Center
  2. Click on “Change adapter settings

)

3. Right click on your wireless connection and select “Status".
4. Click on “Details




Note down the  TCP/IPv4 address (example. 192.168.1.4)



Now you will need to setup the shared connection between your computer and the network device.
Since you know your DHCP IP pool (192.168.1.X or 192.168.0.X) you can pick a random IP.
If you have two or more computers/devices IP’s from 192.168.X.100 to 192.168.X.200 should be available.
In this tutorial we will use 192.168.x.115
To configure your ICS, first thing to do is to set your computer to have a static IP address:
  1. Open “Network and sharing Center
  2. Click on “Change adapter settings” 



3. Right click on “Local Area Network” and click “Properties
4. Highlight “Internet Protocol Version 4 (TCP/IPv4) and click “Properties



5. Under the “IP address” enter the IP address you picked (In our case 192.168.x.115)


6. Under “Subnet mask” enter "255.255.255.0"
7. Press “OK” and save your settings.
Next thing you should do is to create L2TP connection. For a detailed step-by-step tutorial with screenshots,
see: http://wiki.hidemyass.com/Tutorials:Windows_L2TP_connection_setup
Once you have created the L2TP connection please do the following:
  1. Open “Network and sharing Center
  2. Click on “Change adapter settings” 



3. Right click on “Your L2TP Connection” and click “Properties
4. Select “Sharing” tab.
5. Check the “Allow other network users to connect through the computer’s internet conection box
6. Check the “Allow other users to control or disable the shared internet connection” box.
7. Click on “OK



Now connect to VPN and test your connection. (e.g. verify IP at http://ipadress.com)




That's all - the rest of the configuration has to be done on your external device that should use the VPN (e.g. Playstation, XBOX, NAS, Computer, etc.)
On that device, you need to use this settings:

  • IP address:  Should be in the same subnet as your computer. E.g. if your computer is 192.168.0.5, you could use 192.168.0.6
  • Subnet Mask: 255.255.255.0
  • Default router/Gateway: Here enter the IP of your computer, you set earlier (e.g. 192.168.0.5)
  • Primary DNS: Same here.
  • Secondary DNS: Same here.

No comments:

Post a Comment