How to configure the SOCKS5 agent __linux under Linux
Source: Internet
Author: User
Brief introduction:
Under Linux there are a variety of agents available, like the most commonly used squid, is the Http/https agent, can also proxy FTP request, but it is actually an HTTP agent, not an FTP agent, but it can handle FTP proxy requests, Just as the browser works with FTP requests, some programs can only be set up to use socks proxies, like CuteFTP, and like wu-ftp can only be set up to use FTP proxies (the FTP proxy here is the standard FTP proxy, not the way the squid supports it); ICQ 2000 can accept HTTPS agent and socks agent at the same time; Netvampire can accept standard HTTP (get/post) proxies (supported by squid), and HTTP (CONNECT) proxies (also supported by squid).
In order to use CUTE-FTP, in addition to the IP camouflage method, it is necessary to use the socks agent, now let's look at the process of configuring SOCKS5:
1. Download the file
Download the latest version of the SOCKS5 source file from www.socks.nec.com to the/tmp directory.
Socks5-v1.0r11.tgz
2. Compile and install on the fireproof wall (the firewall should be connected to the Internet directly, it is a dual host with two network cards installed, assuming the internal network segment is 192.168.0.0/24)
Cd/tmp
TAR-XVFZ socks5-v1.0r11.tgz
Cd/tmp/socks5-v1.0r11
./configure--with-threads
Make
Make install
3. configuration file
/etc/socks5.conf
#/etc/socks5.conf
Set Socks5_maxchild 3
Set Socks5_noident
Set Socks5_timeout 5
#/ETC/SOCKS5.PASSWD
Jephe Password_of_jephe_is_here
Jack Password_of_jephe_is_here.
5. Start testing
/usr/local/bin/socks5-f-S
If the following message indicates that the test was successful.
18210:SOCKS5 starting at Mon Dec 18:23:45 1998 in normal mode
Then quit SOCKS5 and start officially running it in the background mode:
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.