Set up HTTP proxy and socks proxy on VPS (Ubuntu environment)

Source: Internet
Author: User
Tags vps

3proxy is developed by Russians (how is it a Russian, nginx in front), and the homepage is at www.3proxy.ru.

3proxy supports windows, Linux, and other platforms. Download and install the SDK directly in windows. You need to compile the SDK in Linux.

Although it is compiled and installed, it is also effortless.

Download, compile, and 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

Now, the configuration process is as follows:

Cp cfg/3proxy. cfg/etc/3proxy. cfg

VI 3proxy. cfg

The description of the configuration file is quite detailed, and the user verification method is also very simple.

#! /Usr/local/bin/3 proxy
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/3 proxy/3proxy. Log d
Logformat "-+ _ g % T. %. % d % C tcp_miss/200% I % 1-1 T % 2-2 T % u direct/% R application
/Unknown"
Archiver 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 *** 8001, 8010-https
Proxy-n
Socks

Then run the following command.

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

If you need to start the instance, create relevant commands in/etc/init. d/and add them to start the instance.

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.