Forcing traffic to a proxy server

R

Russ Ferrill

Hello All!

I'd like to be able to force all outbound traffic to a proxy server without
relying on the browser's proxy server configuration. I'm not using Microsoft
ISA server or Microsoft Proxy server, so I can't use their built-in facility
to do this. Does the OS support
this or will I have to write something that runs on my workstations? If I
have to write a program, can somebody point me in the right direction?
Thanks in advance!

Russ
 
D

Doug Sherman [MVP]

What happens if you just set the clients' default gateway to the IP of the
proxy server? The few 3rd party proxy servers I've used function just fine
when you do this - eg WinRoute Pro. Also, in an Active Directory domain you
can use Group Policy to force IE proxy settings - it doesn't matter that you
are not using an MS proxy:

User Configuration?Windows Settings/Internet Explorer
Maintenance/Connection:

Proxy Settings

Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP
 
R

Russ Ferrill

Thanks for the suggestion. I have considered setting the default gateway,
but I'll need to do it programatically and I don't know how to do that.

The machines in question are not part of an Active Directory domain and some
may even be using a browser other than IE which is why I was looking for
something a little more heavy handed. Any ideas?
 
D

Doug Sherman [MVP]

You can use netsh to statically configure an IP address and default gateway:

netsh interface ip set address "Local Area Connection" static 192.168.0.10
255.255.255.0 192.168.0.1 1

Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top