日期: 2011年11月2日

  • 张生方案总结

    Socks方案(Socks可以利用ssh tunnel来建立,不表)
    1、利用squid来进行转发:
    http://sudone.com/linux/squid_privoxy_tor.html

    2、利用redsocks(http://darkk.net.ru/redsocks/)来转发,相关链接:
    Setup iptables for RedSocks in OpenWRT : https://gist.github.com/1097210/796886ba50978ca2426d7bedafd61076858b2c64
    http://www.right.com.cn/forum/viewthread.php?action=printable&tid=40111
    http://bjin.posterous.com/redsocks-on-android
    http://shell909090.com/blog/ (这里有一些openwrt相关的东东)
    http://blog.zhuli.name/archives/6690
    http://www.wy182000.info/2011/08/05/socks%E4%BB%A3%E7%90%86%E7%9A%84%E9%80%8F%E6%98%8E%E5%8C%96%E5%92%8C%E5%8F%AF%E8%B7%AF%E7%94%B1/

    ==openwrt相关==
    http://shell909090.com/blog/2011/09/%E5%90%88%E7%94%A8%E4%B8%A4%E4%B8%AA%E8%B7%AF%E7%94%B1%E5%99%A8%E7%9A%84%E5%87%A0%E7%A7%8D%E6%96%B9%E6%A1%88/
    http://penglei.name/html/100.html (tomato配置VLAN)

    其他参考资料:

    Linux上iptables防火墙的基本应用教程
    http://www.vpser.net/security/linux-iptables.html
    单网卡Linux利用iptables做网关
    http://linux.chinaunix.net/techdoc/net/2007/05/08/957205.shtml
    Linux下使用单网卡实现nat共享上网
    http://zhangruirong.blog.51cto.com/2098188/386947
    Linux单网卡实现NAT路由
    http://gsion.blog.163.com/blog/static/123056504201162111957875/
    單網卡red hat 7.2 linux利用iptables作為簡單網關的配置
    http://fanqiang.chinaunix.net/a1/b1/20020815/060200294_b.html