Files
vpn-routing-desktop/com.custom.staticroutes.plist
anor 8e91a57627 feat: статические маршруты мимо VPN для десктопа (macOS)
- Автоопределение шлюза (Ethernet → Wi-Fi)
- Маршруты для 188.214.107.180, 188.241.196.208, 91.234.54.90
- LaunchDaemon с проверкой каждые 5 сек
2026-03-16 23:58:39 +10:00

21 lines
635 B
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.custom.staticroutes</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/set_static_routes.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>5</integer>
<key>StandardOutPath</key>
<string>/tmp/com.custom.staticroutes.out</string>
<key>StandardErrorPath</key>
<string>/tmp/com.custom.staticroutes.err</string>
</dict>
</plist>