1.安装epel
rpm -Uvh http://mirrors.sohu.com/fedora-epel/5Server/x86_64/epel-release-5-4.noarch.rpm
2.安装3proxy
yum install 3proxy -y
3.修改配置文件
vim /etc/3proxy.cfg
替换以下内容:
users test:CL:test
nscache 65536
daemon
log /var/log/3proxy/3proxy.log D
logformat "%d-%m-%Y %H:%M:%S %U %C:%c %R:%r %O %I %T"
archiver gz /bin/gzip %F
rotate 50
maxconn 50
auth strong
allow * * * 80 HTTP
allow * * * 443 HTTPS
proxy -a -p2323
4.启动
/etc/rc.d/init.d/3proxy restart