srelay比较简单,而且负载也比较低,但只支持socket。
tinyproxy支持http,配置也不麻烦,但是不支持https。
squid功能强大,支持https,但是配置起来很麻烦

srelay代理

srelay -h
usage: srelay [options]
options:
        -c file config file
        -i i/f  listen interface IP[:PORT]
        -J i/f  outbound interface name
        -m num  max child/thread
        -o min  idle timeout minutes
        -p file pid file
        -a np   auth methods n: no, p:pass
        -u file srelay password file
        -U file srelay local user base file
        -f      run into foreground
        -r      resolve client name in log
        -s      force logging to syslog
        -t      disable threading
        -b      avoid BIND port restriction
        -g      use the same interface for outbound as inbound
        -I      inetd mode
        -q      will be quiet
        -v      increase verbosity
        -V      show version and exit
        -h      show this help and exit

srelay.init

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org

START=50

SERVICE_USE_PID=1

start() {
    service_start /usr/bin/srelay -c /etc/srelay.conf -r -s 
}

stop() {
    service_stop /usr/bin/srelay
}

srelay.conf

# allow local subnet to access socks proxy
192.168.1.0/24 any -