In the VPS with 3Proxy set up HTTP proxy and socks agent (Ubuntu Environment) _ Server Other

Source: Internet
Author: User
Tags auth rar vps
3Proxy is developed by the Russians (how are the Russians, front nginx), the homepage in www.3proxy.ru.

3Proxy supports a variety of platforms such as Windows and Linux. Download the installation directly under Windows, Linux needs to compile itself below.

Although it is compiled and installed, it is effortless.

download, compile, install:

wget http://www.3proxy.ru/current/3proxy-0.7-devel.tgz

Tar zxf 3proxy-0.7-devel.tgz

CD 3proxy-0.7

Make–f Makefile.linux

Make–f Makefile.linux Install

OK, here's the configuration process:

CP Cfg/3proxy.cfg/etc/3proxy.cfg

VI 3proxy.cfg

The description of the configuration file is quite detailed and the user authentication method is very simple.

#!/usr/local/bin/3proxy
Nserver 64.79.200.111
Nserver 64.79.200.113
Nscache 65536
Timeouts 1 5 30 60 180 1800 15 60
Users user1:cl:****
Daemon
Log/var/log/3proxy/3proxy.log D
Logformat "-+_g%t.%.%d %c tcp_miss/200%I%1-1t%2-2t%u direct/%r application
/unknown "
archiver rar rar A-df-inul%A%F
Rotate 30
Auth Strong

External 111.111.122.111
Internal 192.168.1.8

Auth Strong
Deny * * 127.0.0.1,192.168.1.1
Allow * * * 80-88,8080-8088,8001-8010 HTTP
Allow * * * 443,8443,8001-8010 HTTPS
Proxy–n
Socks

then run the following command.

/usr/local/bin/3proxy/usr/local/etc/3proxy/3proxy.cfg

If you need to boot, set up the relevant commands in/etc/init.d/and add them to the boot.

Specific documents can refer to: http://www.3proxy.ru/howtoe.asp

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.