LoginSignup
4
3

More than 5 years have passed since last update.

rasbianにSquidをインストール

Posted at

インストール

$ sudo apt-get install squid

設定ファイル編集

$ sudo vi /etc/squid/squid.conf

acl lan src xxx.xxx.xxx.0/24
http_access allow lan

自分のローカルネットワークを追加。

cache_dir ufs /mnt/usb1/spool/squid 1000 16 256

キャッシュフォルダを外部ディスクに作成。

cache_peer XXX.XXX.XXX.XXX parent XXXX 7 no-query
never_direct allow all

上位プロキシを使う場合の設定。

$ sudo service squid restart

サービスを再起動。

端末側のプロキシ設定にIPアドレスとポートを指定する。

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3