I'm using PuTTY to create a Socks5 Proxy via SSH. It works great in firefox.

But Adobe Flash Player does not seem to use it at all, how can I route my traffic to my server in Flash?

I am using windows vista.

The server is running Ubuntu 11.04.

  • Flash is notorious for ignoring browser proxy settings. While this is a huge security risk, it's also a problem in your scenario. – vtest Jul 21 '11 at 13:28
  • Yep, but when you need it - it's a pain, I mostly run my browsers with flash off! – Allan Kimmer Jensen Jul 23 '11 at 6:25

The problem with proxying is that every application you use has to specifically support proxy. Flash player, for example, doesn't seem to have SOCKS support.

I've developed software (tun2socks) that allows you to forward all TCP and optionally UDP through a SOCKS5 proxy, system-wide, without requiring any application support (which Flash is missing). To put it very simply, my software simulates a network interface and a virtual router behind that interface which forwards all connections through a SOCKS proxy, and by using it as the default gateway you get proxying for everything. The following guide explains using tun2socks with SSH forwarding (exactly what you want).


It it a little clumsy to set up however. If you want to automate it, you're on your own. If you follow the guide successfully, all your programs will go through the proxy automatically, and you should disable proxy in the browser itself.

  • Thanks! I later find an alternative: proxifier it has a portable version so I might just buy that! – Allan Kimmer Jensen Jul 23 '11 at 6:27
  • I wonder if I do this in a docker container without changing host operating system networking. – Farid Nouri Neshat Sep 2 '14 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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