Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

3proxy

БесплатноБез исполняемых скриптовНе проверен

3proxy is a small open-source proxy server that runs HTTP/HTTPS, SOCKS4/5, SNI and TCP/UDP port-mapping proxies from one config file. Use when a user asks to…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub11 установок в других каталогах

Об этом скилле

3proxy

Overview

3proxy is a tiny proxy server: one binary (3proxy, about 330 KB in the 1.0.0 package) that starts HTTP(S), SOCKS4/5, SNI, FTP, POP3/SMTP and TCP/UDP port-mapping services from a single config file. The config is a script executed top to bottom — each line is a command, and a service line (proxy, socks, tcppm) starts with whatever auth, ACL and limits are in force at that point. This skill covers installation, the packaged file layout, users, ACLs, parent proxies, traffic limits and hardening.

Instructions

Step 1: Installation

Debian and Ubuntu do not ship a 3proxy package. The project publishes its own signed apt and dnf repositories (channels: current = 1.0, lts = 0.9.9.x).

# Debian 12+ / Ubuntu 22.04+
curl -fsSLO https://3proxy.org/repo/3proxy-release-key.asc
# verify the signing key's fingerprint before trusting it; stop if this prints nothing
gpg --show-keys --with-colons 3proxy-release-key.asc \
  | grep -q '^fpr:::::::::FC12214499FCC7BA1CFF6CDC0312384E3A73940B:' && echo "key fingerprint OK"
sudo install -m 644 3proxy-release-key.asc /usr/share/keyrings/3proxy.asc
sudo tee /etc/apt/sources.list.d/3proxy.sources <<EOF
Types: deb
URIs: https://3proxy.org/repo/deb
Suites: current
Components: main
Signed-By: /usr/share/keyrings/3proxy.asc
EOF
sudo apt update && sudo apt install 3proxy

RHEL, AlmaLinux, Rocky and CentOS Stream 8–10 use the dnf repository described at https://3proxy.org/repo/. A container image is on Docker Hub as 3proxy/3proxy (tags latest, 1.0.0, lts, busybox, minimal):

docker run -d --name 3proxy --read-only -p 3128:3128 -p 1080:1080 \
  -v /srv/3proxy/3proxy.cfg:/etc/3proxy/3proxy.cfg:ro 3proxy/3proxy:1.0.0

In the container, use a bare log line so records go to stdout (docker logs 3proxy).

What the package installs:

Path Purpose
/etc/3proxy/3proxy.cfg Launcher: chroot /usr/local/3proxy proxy proxy, then include /conf/3proxy.cfg. Leave it alone.
/etc/3proxy/conf/3proxy.cfg The config to edit (/etc/3proxy/conf links to /usr/local/3proxy/conf).
/etc/3proxy/conf/passwd, counters, bandlimiters Users, traffic quotas and speed limits written by add3proxyuser.
/var/log/3proxy Links to /usr/local/3proxy/logs.

Because of the chroot, every path inside the editable config is relative to /usr/local/3proxy: /conf/passwd, /logs/3proxy.log, /count/3proxy.3cf. The package enables 3proxy.service and tries to start it, but the packaged config reads /conf/passwd, which does not exist until the first add3proxyuser call — until then 3proxy exits with a parse error. Manage the service with systemctl restart 3proxy; systemctl reload 3proxy (sends SIGUSR1) re-reads the config of a running service.

Step 2: Basic Configuration

/etc/3proxy/conf/3proxy.cfg — authenticated HTTP and SOCKS5 proxy:

nscache 65536
nserver 1.1.1.1
nserver 8.8.8.8

config /conf/3proxy.cfg
monitor /conf/3proxy.cfg

log /logs/3proxy.log D
logformat "L%Y-%m-%d %H:%M:%S %N.%p %E %U %C:%c %R:%r %O %I %T"
rotate 30

counter /count/3proxy.3cf
users $/conf/passwd
include /conf/counters
include /conf/bandlimiters
auth strong
deny * * 127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
allow *
proxy -p3128
socks -p1080

monitor reloads the config within a minute of the file changing. log with no file name writes to stdout; log @3proxy writes to syslog. D rotates daily (the file on disk is 3proxy.log.2026.10.01) and rotate 30 keeps 30 files. The counter and include lines come from the packaged config: they load the quotas and speed limits that add3proxyuser writes. Do not add daemon under systemd — the unit is Type=simple.

Step 3: Users and Authentication

sudo add3proxyuser alice "$ALICE_PROXY_PASSWORD"            # hashed entry in /etc/3proxy/conf/passwd
sudo add3proxyuser bob "$BOB_PROXY_PASSWORD" 2048 8388608   # + 2048 MB/day quota and an 8 Mbit/s cap
sudo systemctl restart 3proxy

A users line can also be written by hand. Password types: CL: cleartext, CR: crypt hash ($3$ BLAKE2b, or $1$ MD5-crypt when built with OpenSSL), NT: NT hash. 3proxy_crypt "$PROXY_SALT" "$ALICE_PROXY_PASSWORD" prints a ready CR:$3$… value. Quote any entry that contains $ — an unquoted $ starts a file include:

users "alice:CR:$3$k7Qm2x$G47yV9w…" ops:CL:Winter-Harbor-48

auth types: none (default — ACLs, limits and parents are not applied), iponly (ACLs by address, no password), strong (username and password), cache/cacheacl with authcache. auth iponly strong asks for a password only when the matching rule names a user.

Step 4: Access Control Lists (ACLs)

Fields, in order: users, source addresses, targets, target ports, operations, weekdays, time periods. Lists are comma-separated without spaces; * means any. Rules are checked top to bottom and the first match wins. An empty li

Полный SKILL.md на GitHub

Установить 3proxy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл 3proxy?

3proxy is a small open-source proxy server that runs HTTP/HTTPS, SOCKS4/5, SNI and TCP/UDP port-mapping proxies from one config file. Use when a user asks to set up an HTTP or SOCKS5 proxy, add proxy users and passwords, write 3proxy access rules, chain or rotate upstream (parent) proxies, limit bandwidth, connections or monthly traffic per user, run 3proxy in Docker, or fix a 3proxy.cfg that will not start.

Как установить скилл 3proxy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл 3proxy запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить 3proxy с