### # need change username and domain to your # username # domain start_proxy() { while [ "1" = "1" ] do ssh -N -D 0.0.0.0:1086 username@domain done } start_proxy & socks start echo "proxy started"