Setup a Simple HTTP Proxy Server

The host 10.21.3.69 has no H3C client, so it can't access the internet. With Tinyproxy, we can setuup a proxy server on 10.21.3.31 to enable 69 access the internet.

Server Setup

  1. Installation: apt-get install tinyproxy

  2. Configuration: vi /etc/tinyproxy.conf

    i. default listening port: Port 8888

    i. Allow incoming clients: Allow 10.21.3.69

  3. Apply the changes: sudo /etc/init.d/tinyproxy restart (or "service tinyproxy restart")

Client

Set proxy: 10.21.3.31:8888

bingo!

posted on 2014-03-26 15:24  leechau  阅读(459)  评论(0编辑  收藏  举报

导航