Make my home's PC as proxy server to surf internet

Step

At home

  1. Install cygwin and openssh package in my home's PC
  2. Install pagekite and run following command as a scheduled job python.exe pagekite.py 22 ssh:YOU.pagekite.me

At workstation

  1. Use putty to login YOU.pagekite.me:22 through http proxy YOU.pagekite.me:443
  2. Create dynamic port forwarding -D1080 in localhost
  3. In putty: Connection -> Seconds between keepalives should be larger than 0(such as 10)
  4. Setup firefox to use socks proxy localhost:1080

Another method(Using Squid)

  1. at home: install squid
  2. at workstation: using putty to create local port forwarding: -L3128:localhost:3128
  3. Setup firefox to use http proxy localhost:3128

PS: Proxy tools

connect or netcat or corkscrew or nc
proxycap or httptunnel
stunnel

Reverse Proxy

pagekite
localtunnel
proxylocal

VNC

vnc loopback connections are not enabled
Solved: 1. enable **Allow loopback connections ** 2. uncheck the Use password
Ref:
1.Tunnelling VNC over SSH
2.VNC: Server Error message "Loopback connections are disabled"

Reference

ssh pagekite
putty pagekite
安裝 Squid Proxy Server @ Windows XP

setup dynamic port forwarding
SSH Dynamic Port Forwarding
Proxies_and_Jump_Hosts

Troubleshoot
SSH using a SOCKS or HTTP proxy
Network error: Software caused connection abort
How can I use SSH with a SOCKS 5 proxy

Others(must read)
SSH as socks proxy through multiple hosts (with http proxy involved)
SSH as socks proxy through multiple hosts SSH Through or Over Proxy
Proxy Firefox through a SSH tunnel
What's the difference between SSH and Squid when using them as proxies
SSH Tunneling Explained PySocksipyChain Secure+Tunnels/Hack+76+Encrypt+and+Tunnel+Traffic+with+SSL/

转载于:https://my.oschina.net/l1z2g9/blog/194821

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值