Skip to content

Instantly share code, notes, and snippets.

View danil1petrov's full-sized avatar

danil1petrov

  • Murmansk, Russia
View GitHub Profile
@tossmilestone
tossmilestone / linux-shadows-global.sh
Created July 5, 2017 07:11
Linux global shadowsocks proxy
#!/bin/bash
# extern variables
SCRIPT_FULL_NAME=$0
SCRIPT_PID=$$
SCRIPT_PID_FILE=/tmp/shadowsocks_ss.pid
SS=ss-redir
SS_IP=127.0.0.1
SS_PORT=1080
SS_LOCAL_PORT=1081