HAProxy 作为 Shadowsocks Relay 的配置文件

backup for shadowsocks wiki on github

        ulimit-n  51200

        log global
        mode    tcp
        option  dontlognull
        contimeout 1000
        clitimeout 150000
        srvtimeout 150000

frontend ss-in
        bind *:8388
        default_backend ss-out

backend ss-out
        server server1 PROXIED_SERVER:8388 maxconn 20480
haproxy -f /etc/haproxy/haproxy.cfg -D

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.