Using Privoxy to convert SSH to HTTP proxy

Source: Internet
Author: User

Why do you want to convert?

generally we are easy to find through SOCKS5 proxy methods, such as SSH , but many browsers or software only support HTTP way, so we need to put our SSH proxy mode is switched to HTTP Agent Mode ?

How to convert?

Use Privoxy to set the conversion. Other software can also be used for conversion ( self-to-Internet search ), but personal discovery Privoxy is the most convenient.

Download Privoxy , is: http://www.privoxy.org/. Do not start immediately after installation, enter the installation directory, such as:C:\Program Files (x86) \privoxy, open the config.txt file, add the following two lines:

forward-socks5/192.168.88.150:4220.

Listen-address 192.168.88.150:3128

Here's192.168.88.150:4220is connectedSOCKSthe opening of the agentIPand Port, if it is native, can be used127.0.0.1Alternative192.168.88.150,192.168.88.150:3128this isPrivoxyOpenHTTPAgent'sIPand ports. Here you need to explain, if only for the use of the machine, with127.0.0.1If other machines in the LAN are to be used, you must use the native LANIPAlternative.

It is also important to note that: FORWARD-SOCKS5 the last side has a point, do not remove.

Verify use?

if it is IE If you use it, you just need to set it up. ( because IE 's settings are global, if you no longer need to connect via proxy, it is best to cancel ) :

This can be set by any other user on the LAN

If it's another machine like ipod use, you can enter the settings - Wireless LAN -> a used wifi junction, in the following http Select Manual in Agent, fill in server ip 3128 can be.

after Setup, if there is proxy traffic, install the Privoxy the icon of the machine will flash.

Possible problems

    1. Set the HTTP The proxy port conflicts with the open ports of other applications in the native, preferably opening a humble port
    2. If there is a firewall installed, LAN other machine connection agent, the firewall may be prompted whether to intercept, select release.

The shortcomings

    1. using the method described above, because it is locally opened another HTTP Proxy Server, so this machine cannot be shut down while in use.

Advantages

    1. can fully define forwarding rules and flexibly use ( related definition methods can be consulted: http://qixinglu.com/post/powerful_filter_proxy_privoxy.html)
    2. if only ssh You do not need to purchase separately. vpn account
    3. after conversion, iphone You can use the
    When the device does not need to jailbreak

Note: The above setting method is WIN7 and the IPOD Touch 5 in the test pass

Using Privoxy to convert SSH to HTTP proxy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.