Ubuntu and other Linux Custom Setup Agent tool Proxychains Introduction __linux

Source: Internet
Author: User
Tags proxychains

Under Linux, sometimes we want to give a program to set the agent, but the program itself does not have to set the proxy configuration options, this time is not unable to set agent for the program, today cows for you to recommend a more practical Linux under the Custom Setup program Agent tool Proxychains. The use of the tool is simple and convenient, and the installer will modify the options in the configuration file to represent the program application that we specify. Well, that's not easy to understand. Let's take an example:

For example we want to run a network game x, but we are now in the case of the Internet through the proxy, and the agent is not a global agent, we can only go through a specific port, at this time we need to do. First install Proxychains.

ubuntu11.10 Direct sudo apt-get install proxychains can be installed, other versions of the Linux system can look at their system package support with wood, If the package update does not click here to proxychains official download the latest version. Then compile, the concrete compilation method can see the install file description in the package.

After installation we need to configure the program, the configuration file is/etc/proxychains.conf, but according to the author's instructions, in fact, the configuration file in three places are valid.

Profile:
proxychains Find configuration files in order:
1./proxychains.conf
2) $ (home)/.proxychains/proxychains.conf
3)/ etc/proxychains.conf * *

OK, now that the configuration file has been found, let's take a look at the configuration file configuration. There are three kinds of proxychains patterns.

Dynamic_chain, a chain is formed in the order of the proxy servers that appear in the list, and if a proxy server fails, it is automatically excluded, but at least one is valid.

Strict_chain, a chain is formed in the order of the proxy servers that appear in the list, requiring all proxy servers to be valid

Random_chain, any proxy server in the list may be selected for use, which is ideal for network scanning operations (parameter Chain_len is only valid for Random_chain).

The default is the selected Strict_chain, so here we do not make changes. At the bottom you can configure your own agent to refer to the configuration file. For example
HTTP 127.0.0.1 8080

SOCKS5 127.0.0.1 7070 (ssh with this configuration is OK)

HTTP 123.456.789.1 username passwd

Uh, but if you choose Strict_chain, it's recommended that you leave an available agent, and you won't be able to use it. OK, put the configuration file in your user directory. Where the configuration file is. Download this bar, you can directly as the configuration of SSH, other agents to modify their own. Click here to download the configuration file

When executing the program, directly enter the Proxychains program name, such as Firefox can be opened with Proxychains Firefox. Also, you may need sudo permission to start an individual program.

Original address: http://www.nenew.net/ubuntu-linux-proxychains.html

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.