Expand local_machine docs and automation for connectivity, games, and ops.
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>
This commit is contained in:
13
docs/connectivity/launchd/telegram-socks-launch.sh
Executable file
13
docs/connectivity/launchd/telegram-socks-launch.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user