openwrt router +ssh port forwarding

大家好, 請問點configure可以係街外用ssh client入屋企部openwrt router來當socks proxy上網?

我宜家系:
PC(freesshd)--> router || <--- outside (SSH+socks proxy forwarding)<--Chrome/Firefox (socks5)

我想
router(openwrt+ssh) || <--- outside (SSH+socks proxy forwarding)<--Chrome/Firefox (socks5)

你用咩ssh client, putty既話要set dynamic tunnel, 定command line ?
firefox要about:config改野
openwrt default已經有dropbear ssh, interfaces set unspecified 等出街駁到入黎...
未試過拎router個ssh黎玩socks, 所以詳細唔清楚

TOP

maybe vpn is better way to do that ?

TOP

你用咩ssh client, putty既話要set dynamic tunnel, 定command line ?
firefox要about:config改野
openwrt  ...
Bomber 發表於 2014-12-5 22:33

ssh client 係bitvise ssh, firefox 用sock5 proxy或者foxyproxy

maybe vpn is better way to do that ?
theluxman 發表於 2014-12-6 00:18

公司block vpn

TOP

client PC 用 myetunnel, set dynamic port i.e: 12345, router ssh remote port open = 443 (一般公司都會開80及443比人上網), login 用root及router admin pwd,
myetunnel connected to router 後, firefox / chrome browser network config proxy set 用 sock v5 localhost 127.0.0.1:12345(dynamic port), 詳細setup自己上google大神搵吓.
最後browser 記住set 用remote DNS, firefox要係about:config set,如果唔係就算用緊ssh tunnel出街, client PC都會不斷用公司個DNS server, 就會比公司IT知你出緊古惑.

TOP

樓主有無考慮試下用openvpn?

TOP

樓主有無考慮試下用openvpn?
boy168 發表於 2014-12-6 21:56

同普通vpn有咩分别?

TOP

client PC 用 myetunnel, set dynamic port i.e: 12345, router ssh remote port open = 443 (一般公司都會 ...
upi 發表於 2014-12-6 12:26

得左, 唔該曬....

TOP