Using netsh to create a transparent proxy

There are some good windows web proxies about. The only problem with them is they sometimes dont natively act as a transparent proxy. i.e. typically you’ll need to set your client machines to a specific IP and port.

I’ve used squid historically when setting up transparent proxies (mainly since it actually has a transparent mode) and this has worked well. Recently i thought i’d have a go at some of the windows solutions to see how they pan out.

netsh is going to be the tool to assist in this case. Here is a typical use for netsh;

netsh

>add v4tov4 listenport=80 connectaddress=127.0.0.1  connectport=8080

This should grab all traffic that hits your machine bound for port 80 and redirect to port 8080.

You’ll also need to make sure that routing is enabled, so your machine can act as a gateway between the requests and the real outbound gateway (typically your dsl modem)

Windows 7 – Moving to SSD

Want to move your current disk image onto a SSD drive?

Quick, easy and free. Also aligns disk sectors :)

  1. Tidy up your current HDD – delete / move any unneeded items to an archive disk
  2. Shrink the C volume to under the size of the SSD (you do not need to shrink as small as possible, just shrink just under SSD size)
  3. Run Windows Backup (win7 backup is very good, i.e. image backup) onto external USB Drive
  4. Remove your current HDD and install SSD
  5. Restore via Windows Backup — Boot install DVD, and choose Repair your computer, then select recover from windows backup image (use the image you backed up onto your USB drive).
  6. Reboot, then expand the C volume to consume the full space of the SSD

Done.

Quick way to check that TRIM has also been enabled;

fsutil behavior query DisableDeleteNotify

If the result is ‘0’ TRIM is enabled.

HP Blade Switch – enable crossover

HP GbE2c Ethernet Blade Switch for HP c-Class BladeSystem User Guide
Click here to view the “HP GbE2c Ethernet Blade Switch for HP c-Class BladeSystem User Guide” (http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c00701541/c00701541.pdf)
HP GbE2c Layer 2/3 Ethernet Blade Switch for c-Class BladeSystem User Guide
Click here to go to the “HP GbE2c Layer 2/3 Ethernet Blade Switch for c-Class BladeSystem User Guide” (http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c00865010/c00865010.pdf)

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00700745/c00700745.pdf

Crosslinks

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00816246/c00816246.pdf