Use a Socks5 Proxy in Flash Player

3

1

Hello,

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.

Allan Kimmer Jensen

Posted 2011-07-21T12:56:43.160

Reputation: 203

Flash is notorious for ignoring browser proxy settings. While this is a huge security risk, it's also a problem in your scenario. – vtest – 2011-07-21T13:28:20.887

Yep, but when you need it - it's a pain, I mostly run my browsers with flash off! – Allan Kimmer Jensen – 2011-07-23T06:25:42.120

Answers

3

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

http://code.google.com/p/badvpn/wiki/tun2socks

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.

Ambroz Bizjak

Posted 2011-07-21T12:56:43.160

Reputation: 4 265

I wonder if I do this in a docker container without changing host operating system networking. – Farid Nouri Neshat – 2014-09-02T16:49:02.510

Thanks! I later find an alternative: proxifier it has a portable version so I might just buy that! – Allan Kimmer Jensen – 2011-07-23T06:27:03.677