ssh隧道_ew穿透

ssh -Nf -R 139.199.0.37:2222:192.168.199.16:22 139.199.0.37
ssh -Nf 公网ip:2222:10.147.20.103:22 公网ip



ssh -p 22 -qngfNTR 6766:localhost:22 [email protected]公网ip
ssh -p 6766 [email protected]


ssh -fgN -R *:50000:127.0.0.1:5000 [email protected]公网ip


ssh -fgN -R 50000:127.0.0.1:5000 [email protected]公网ip



ssh -g -R *:5000:127.0.0.1:5000 [email protected]公网ip




ssh -fgN -R 50000:127.0.0.1:5000 [email protected]公网ip


公网ip:50000


wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
chmod +x syno-i686-bootstrap_1.2-7_i686.xsh
sh syno-i686-bootstrap_1.2-7_i686.xsh




autossh -p 22 -M 6777 -NR 6766:localhost:22 [email protected]公网ip



autossh -M 5001 -NR 5000:localhost:5000 [email protected]公网ip



./ew -s rcsocks -l 1080 -e 8888  
//公网

./ew -s rssocks -d 公网ip -e 8888 

//内网