Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Setting system wide network proxy
New Posts  All Forums:Forum Nav:

Setting system wide network proxy

post #1 of 6
Thread Starter 
In Linux its pretty simple to set a system wide Socks proxy, how would I go about doing the same in Windows XP? I did some googling and came to an interesting post.
Quote:
Setting the IE proxy setting is not enough. You also have to set the WinHTTP proxy setting via command line.

netsh winhttp set proxy : ""

So anybody have a clue, would that be the way? ^
My baby girl
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k ASrock z77 Extreme 4 GTX 560 TI 16GB 1600Mhz 
Hard DriveOSMonitorPower
Samsung Evo 240GB Windows 7 Ultimate 64 bit 1080p Corsair 650W 
Case
CM Storm Scout 
  hide details  
Reply
My baby girl
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k ASrock z77 Extreme 4 GTX 560 TI 16GB 1600Mhz 
Hard DriveOSMonitorPower
Samsung Evo 240GB Windows 7 Ultimate 64 bit 1080p Corsair 650W 
Case
CM Storm Scout 
  hide details  
Reply
post #2 of 6
the reason it is suggested to implement your proxy server via netsh, that should set all web traffic to go to the proxy not just IE. (example) Firefox, Opera, Windows Updates, and Anti-virus signatures would not be affected if the change was only made in IE.
The Raven
(16 items)
 
  
CPUMotherboardGraphicsGraphics
i7-2600K Gigabyte GA-P67A-UD5-B3 EVGA GTX 570 SC EVGA GTX 570 SC 
RAMHard DriveOptical DriveCooling
16GB G.SKILL Ripjaws X 1866 Samsung 840 Pro  iHAS324 - Lite-On DVD-RW Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 10 ASUS VN248 ASUS VN248 Logitech G510 
PowerCaseMouse
XFX 850W BE SILVERSTONE RV02B-EW Logitech MX518 
  hide details  
Reply
The Raven
(16 items)
 
  
CPUMotherboardGraphicsGraphics
i7-2600K Gigabyte GA-P67A-UD5-B3 EVGA GTX 570 SC EVGA GTX 570 SC 
RAMHard DriveOptical DriveCooling
16GB G.SKILL Ripjaws X 1866 Samsung 840 Pro  iHAS324 - Lite-On DVD-RW Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 10 ASUS VN248 ASUS VN248 Logitech G510 
PowerCaseMouse
XFX 850W BE SILVERSTONE RV02B-EW Logitech MX518 
  hide details  
Reply
post #3 of 6
Thread Starter 
Yea exactly, so that will do it? I want all traffic to be on the proxy so I can have all applications that don't within them support proxys to be using the proxy.

For the port I would use the dynamic port I set in Putty, right? And for the hostname would I put the IP of the proxy server or would I put localhost?
My baby girl
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k ASrock z77 Extreme 4 GTX 560 TI 16GB 1600Mhz 
Hard DriveOSMonitorPower
Samsung Evo 240GB Windows 7 Ultimate 64 bit 1080p Corsair 650W 
Case
CM Storm Scout 
  hide details  
Reply
My baby girl
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k ASrock z77 Extreme 4 GTX 560 TI 16GB 1600Mhz 
Hard DriveOSMonitorPower
Samsung Evo 240GB Windows 7 Ultimate 64 bit 1080p Corsair 650W 
Case
CM Storm Scout 
  hide details  
Reply
post #4 of 6
not sure what dynamic port your referring too. typically the port used in putty is used for administration and can differ from the proxy. Not always the case... Bluecoats used as your proxy for example are typically setup to use port 8088 or 8080.

the hostname can be set with the ip of the proxy
The Raven
(16 items)
 
  
CPUMotherboardGraphicsGraphics
i7-2600K Gigabyte GA-P67A-UD5-B3 EVGA GTX 570 SC EVGA GTX 570 SC 
RAMHard DriveOptical DriveCooling
16GB G.SKILL Ripjaws X 1866 Samsung 840 Pro  iHAS324 - Lite-On DVD-RW Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 10 ASUS VN248 ASUS VN248 Logitech G510 
PowerCaseMouse
XFX 850W BE SILVERSTONE RV02B-EW Logitech MX518 
  hide details  
Reply
The Raven
(16 items)
 
  
CPUMotherboardGraphicsGraphics
i7-2600K Gigabyte GA-P67A-UD5-B3 EVGA GTX 570 SC EVGA GTX 570 SC 
RAMHard DriveOptical DriveCooling
16GB G.SKILL Ripjaws X 1866 Samsung 840 Pro  iHAS324 - Lite-On DVD-RW Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 10 ASUS VN248 ASUS VN248 Logitech G510 
PowerCaseMouse
XFX 850W BE SILVERSTONE RV02B-EW Logitech MX518 
  hide details  
Reply
post #5 of 6
Thread Starter 
Okay tested it in a VM and got it working perfectly. Thanks alot guys.

Off topic but how would I go about writing a script to do the dos work so someone less gifted could turn the proxy on and off?

first one would just need to run
Quote:
netsh winhttp set proxy :

and the 2nd one run
Quote:
netsh winhttp reset

Edited by Markisa - 3/4/11 at 1:40pm
My baby girl
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k ASrock z77 Extreme 4 GTX 560 TI 16GB 1600Mhz 
Hard DriveOSMonitorPower
Samsung Evo 240GB Windows 7 Ultimate 64 bit 1080p Corsair 650W 
Case
CM Storm Scout 
  hide details  
Reply
My baby girl
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k ASrock z77 Extreme 4 GTX 560 TI 16GB 1600Mhz 
Hard DriveOSMonitorPower
Samsung Evo 240GB Windows 7 Ultimate 64 bit 1080p Corsair 650W 
Case
CM Storm Scout 
  hide details  
Reply
post #6 of 6
glad i could help
The Raven
(16 items)
 
  
CPUMotherboardGraphicsGraphics
i7-2600K Gigabyte GA-P67A-UD5-B3 EVGA GTX 570 SC EVGA GTX 570 SC 
RAMHard DriveOptical DriveCooling
16GB G.SKILL Ripjaws X 1866 Samsung 840 Pro  iHAS324 - Lite-On DVD-RW Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 10 ASUS VN248 ASUS VN248 Logitech G510 
PowerCaseMouse
XFX 850W BE SILVERSTONE RV02B-EW Logitech MX518 
  hide details  
Reply
The Raven
(16 items)
 
  
CPUMotherboardGraphicsGraphics
i7-2600K Gigabyte GA-P67A-UD5-B3 EVGA GTX 570 SC EVGA GTX 570 SC 
RAMHard DriveOptical DriveCooling
16GB G.SKILL Ripjaws X 1866 Samsung 840 Pro  iHAS324 - Lite-On DVD-RW Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 10 ASUS VN248 ASUS VN248 Logitech G510 
PowerCaseMouse
XFX 850W BE SILVERSTONE RV02B-EW Logitech MX518 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Setting system wide network proxy