Add proxy/VPN/telegram launchd and emergency runbooks; reorganize apps docs; document JA3 CrossOver runbook and Wine troubleshooting; add GOG/HoMM game scripts, disk cleanup guides, and gitea push-via-proxy helper. Ignore temp/. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
480 B
Bash
Executable File
14 lines
480 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# LaunchAgent: SOCKS на 1081 только по цепочке Mac → RU → DO (Host telegram-socks-via-do).
|
|
# Прямой Mac → DO для SOCKS не используется.
|
|
ulimit -n 65536 2>/dev/null || ulimit -n 10240 2>/dev/null || true
|
|
|
|
SSH_CMD=(/usr/bin/ssh -D 1081 -N \
|
|
-o TCPKeepAlive=yes \
|
|
-o IPQoS=throughput \
|
|
-o ServerAliveInterval=60 \
|
|
-o ServerAliveCountMax=4 \
|
|
-o ConnectTimeout=30)
|
|
|
|
exec "${SSH_CMD[@]}" telegram-socks-via-do
|