5

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!!?

  • 7
    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
10

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.

  • 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
  • 1
    Okay, thanks - i found an application named: Proxifier – planIT Nov 15 '11 at 15:21
1

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.
-3

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

  • 5
    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

protected by Community Sep 27 '17 at 18:16

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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