Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a local proxy on my PC. (localhost:8888) But unfortunately there are many programs which are not able to go through this proxy. So how can I force all my programs to go through my local proxy (or tunnel my connections to my local proxy)?

So all the programs on my PC could go through this proxy before reaching the internet!!?

share|improve this question
what kind of a proxy do you have on localhost:8888? ssh, vpn, tor? and also, are you using windows, linux, macos? – pootzko Nov 15 '11 at 12:57
@pootzko default port for Fiddler so that would be my guess – efr4k Dec 5 '11 at 11:16
use proxifier or else try proxy cap – user32158 Oct 18 '13 at 6:57
up vote 6 down vote accepted

Have you considered using a transparent proxy? It can automatically intercept all traffic and feed it to the proxy.

If you're asking about Tor, check out the Tor transparent proxy, which might do exactly what you want. You might also check out Torouter.

share|improve this answer
do you have any suggestions for a transparent proxy (application?) – planIT Nov 15 '11 at 11:06
squid proxy with a linux firewall redirect rule, but thats not a single application nor a windows solution... – Dog eat cat world Nov 15 '11 at 14:35
Okay, thanks - i found an application named: Proxifier – planIT Nov 15 '11 at 15:21

If this is important enough and firewall/driver solutions are not working - you can make the only internet gateway available to the computer be another computer that runs the desired proxy.

You can enforce this in one of two general ways:

  • Configure your home router to whitelist only the proxy computer's MAC for outgoing traffic from the LAN.
  • Have two NIC cards on the computer running the proxy and connect the other computer directly to the second NIC card. The proxy computer has full control over what bridges between the two LANs, if correctly configured.
share|improve this answer

At least, you can block all outcoming connections with a firewall, and allow only outcoming from localhost:8888, but this doesn't entirely solve your problem

share|improve this answer
That's not actually going to work, because the outgoing connections from the proxy won't be coming from port 8888. The source port of the outgoing connections from the proxy is independent of the destination port of connections to the proxy; the latter is 8888, but the former will be random. – D.W. Nov 15 '11 at 18:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.