Super User is a question and answer site for computer enthusiasts and power users. 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

As our corporate network provides an HTTP CONNECT proxy for people who need to connect to the outside world, and as every Linux application needs to be set up specially to use it, I was thinking about installing a service to transparently forward TCP connections through the proxy. I could just hack Slirp to connect to a tun network device on one end and to the proxy on the other, but I was wondering whether something on those lines already exists before I start doing it (probably badly) myself.

Edit: tun2socks[1] seems to do what I want for SOCKS proxies.

Edit: redsocks[2] uses the host firewall instead of a tun device but looks like a candidate.

Edit: slirpvde (resp slirpvde6 when it settles down) with a tap-connected vde_switch[3] in combination with proxychains[4] might be what I settle for. I will add it as an answer if I do.

[1] http://code.google.com/p/badvpn/wiki/tun2socks

[2] http://darkk.net.ru/redsocks/

[3] http://vde.sourceforge.net/

[4] http://proxychains.sourceforge.net/

share|improve this question

You must log in to answer this question.

Browse other questions tagged .