インストール
$ sudo apt-get install ziproxy
設定
$ sudo cp /etc/zaiproxy/zaiproxy.conf /etc/zaiproxy/zaiproxy.conf.bak
一応設定をファイルをバックアップ
$ sudo vi /etc/zaiproxy/zaiproxy.conf
ファイルを開く
# Example of ziproxy.conf for Debian
############################
# daemon mode-only options #
############################
## Port to listen for proxy connections
## default: 8080
Port = XXXX
## Local address to listen for proxy connections
## If you have more than one network interface,
## it's useful for restricting to which interface you want to bind to.
## By default Ziproxy binds to all interfaces.
Address = "xxx.xxx.xxx.xxx"
portを変更
Addressのコメントアウトを外し、端末のIPアドレスを入力
起動
$ sudo service ziproxy start
サービス登録
$ sudo update-rc.d ziproxy defaults
以上