Debian Linux: How can I expose a SOCKS proxy as a HTTP proxy for the purpose of HTTP/HTTPS requests?

user

How can I allow a program, which only supports talking through a HTTP proxy, to talk through a SOCKS proxy? In other words, take the HTTP-proxy request and turn it into a SOCKS-proxy request which gets forwarded to the SOCKS proxy, and pass the returned data back to the program through the HTTP proxy.

I need a solution that works on Debian Linux, preferably using software that is prepackaged in Debian's main repository.

The chain of communications would be: My program -> HTTP proxy (local) -> SOCKS proxy (local) -> External access

I found a handful of questions about doing it the other way around (a SOCKS proxy forwarding to a HTTP proxy), but that doesn't help me. HTTP proxy server for Windows that forwards to SOCKS proxy is similar to what I want, but since it asks for Windows solutions it doesn't help me.

David Schwartz

You can use TorSocks for this. It's a preloadable library that redirects programs to use a socks proxy. It's typically used to redirect to Tor, but it can redirect to anything.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How to create a SOCKS proxy with ssh?

분류에서Dev

How do I set up a local SOCKS proxy that tunnels traffic through SSH?

분류에서Dev

How can I reach a remote ssh server through my http proxy (80 port)?

분류에서Dev

How to bypass proxy with either VPN or Socks5

분류에서Dev

How i can handle http requests in perl?

분류에서Dev

How can I make a c# https web request that works in both proxy and no proxy situations

분류에서Dev

Routing a VPN connection to a socks proxy on the same server

분류에서Dev

When using NginX as a reverse proxy, how can i fallback to a maintenance url?

분류에서Dev

is it possible to check whether a local socks proxy works with shell script?

분류에서Dev

Is it possible to use a SOCKS5 proxy for the macOS terminal on a local machine?

분류에서Dev

IE 11 Failure with PuTTY-Based SOCKS5 Proxy

분류에서Dev

Why can't I compile USB Proxy on my Beaglebone?

분류에서Dev

CentOS 7 - yum not using proxy for all requests

분류에서Dev

How to set a proxy for terminal?

분류에서Dev

How can I install a more modern version of GNU utils (coreutils) on Debian Linux with no admin rights?

분류에서Dev

How can I recognize that a certain Linux distribution is based on Debian, looking at file structure?

분류에서Dev

Windows: how can an application forced to always connect thought a proxy?

분류에서Dev

How do I run scala sbt behind a zsacaler proxy (zscloud)

분류에서Dev

CentOS http_proxy 대 https_proxy

분류에서Dev

Linux http_proxy env vars 및 Firefox 웹 소켓 연결

분류에서Dev

How can I accept all SSH requests?

분류에서Dev

How can I throttle stack of api requests?

분류에서Dev

why I can't see the interface in Linux Debian

분류에서Dev

acquire::http::proxy for only specified repositories

분류에서Dev

http request does not emit 'end' after proxy

분류에서Dev

export HTTP_PROXY and special characters in passwd

분류에서Dev

Node-HTTP-Proxy 오류

분류에서Dev

http-proxy-rules 및 Websockets

분류에서Dev

Redirect ALL packets from eth1 & eth2 through a SOCKS proxy

Related 관련 기사

  1. 1

    How to create a SOCKS proxy with ssh?

  2. 2

    How do I set up a local SOCKS proxy that tunnels traffic through SSH?

  3. 3

    How can I reach a remote ssh server through my http proxy (80 port)?

  4. 4

    How to bypass proxy with either VPN or Socks5

  5. 5

    How i can handle http requests in perl?

  6. 6

    How can I make a c# https web request that works in both proxy and no proxy situations

  7. 7

    Routing a VPN connection to a socks proxy on the same server

  8. 8

    When using NginX as a reverse proxy, how can i fallback to a maintenance url?

  9. 9

    is it possible to check whether a local socks proxy works with shell script?

  10. 10

    Is it possible to use a SOCKS5 proxy for the macOS terminal on a local machine?

  11. 11

    IE 11 Failure with PuTTY-Based SOCKS5 Proxy

  12. 12

    Why can't I compile USB Proxy on my Beaglebone?

  13. 13

    CentOS 7 - yum not using proxy for all requests

  14. 14

    How to set a proxy for terminal?

  15. 15

    How can I install a more modern version of GNU utils (coreutils) on Debian Linux with no admin rights?

  16. 16

    How can I recognize that a certain Linux distribution is based on Debian, looking at file structure?

  17. 17

    Windows: how can an application forced to always connect thought a proxy?

  18. 18

    How do I run scala sbt behind a zsacaler proxy (zscloud)

  19. 19

    CentOS http_proxy 대 https_proxy

  20. 20

    Linux http_proxy env vars 및 Firefox 웹 소켓 연결

  21. 21

    How can I accept all SSH requests?

  22. 22

    How can I throttle stack of api requests?

  23. 23

    why I can't see the interface in Linux Debian

  24. 24

    acquire::http::proxy for only specified repositories

  25. 25

    http request does not emit 'end' after proxy

  26. 26

    export HTTP_PROXY and special characters in passwd

  27. 27

    Node-HTTP-Proxy 오류

  28. 28

    http-proxy-rules 및 Websockets

  29. 29

    Redirect ALL packets from eth1 & eth2 through a SOCKS proxy

뜨겁다태그

보관