dotfiles/homedir/.config/watchman/init.d/socks
fbt 666770d74c ugh
Signed-off-by: fbt <fbt@fleshless.org>
2017-05-03 16:13:50 +03:00

9 lines
235 B
Bash
Executable File

#!/usr/bin/bash
[[ $PROXY_USER ]] || PROXY_USER='proxy'
[[ $PROXY_HOST ]] || PROXY_HOST='malganis.priv'
service_respawn=true
service_command='/usr/bin/ssh'
service_args=( -i ~/.ssh/proxy/id_ecdsa -ND 8080 "$PROXY_USER@$PROXY_HOST" )