2009年02月26日
DansGuardianの設定(3) dansguardian.confの編集
dansguardian.confを編集します。
# vi /etc/dansguardian/dansguardian.conf
5行目付近
UNCONFIGURED - Please remove this line after configuration
を
#UNCONFIGURED - Please remove this line after configuration
27行目付近
language = 'ukenglish'
を
language = 'japanese'
66行目付近
#loglocation = '/var/log/dansguardian/access.log'
を
loglocation = '/var/log/dansguardian/access.log'
86行目付近
filterip =
を
filterip = 192.168.1.1
416行目付近
#contentscanner = '/etc/dansguardian/contentscanners/clamav.conf'
を
contentscanner = '/etc/dansguardian/contentscanners/clamav.conf'
ここまで。
これでとりあえずOKだと思います。
ログファイルを作成します。
アクセスログ用のファイルが無いので空ファイルを作成します。
# touch /var/log/dansguardian/access.log
# chmod 777 /var/log/dansguardian/access.log
以上です。
カテゴリ:Ubuntuでルータ| パーマリンク |TOPページへ ▲画面上へ
トラックバック
このエントリーのトラックバックURL:
http://kusumoto-jp.org/mt-tb.cgi/65