Total877338 Week2465 Yesterday261 Today988 1count/day on each IP Since 2006-06-06

«Prev || 1 || Next»

28 August 2008

高尾山 定点撮影(2008/8/28)

高尾山
天気 雨
山頂は雲に隠れている
夜 雷雨

08/28/08 22:51:17 - noboru - No comments 高尾山定点撮影

28 August 2008

squid 透過プロキシ

ipfw の設定を単純にしてテストしたところうまくいった

squid設定
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 192.168.XXX.0/255.255.255.0
http_access allow localhost
http_access allow localnet
http_port 192.168.XXX.X:3128 transparent

firewallの設定
#!/bin/sh -
fwcmd="/sbin/ipfw -q"
${fwcmd} -f flush
${fwcmd} add 100 pass all from any to any via lo0
${fwcmd} add 200 deny all from any to 127.0.0.0/8
${fwcmd} add 300 deny ip from 127.0.0.0/8 to any
${fwcmd} add 400 pass ip from 192.168.XXX.X to any
${fwcmd} add 500 fwd 192.168.XXX.X,3128 tcp from 192.168.XXX.0/24 any to any 80
${fwcmd} add 65000 pass all from any to any

08/28/08 22:26:38 - noboru - No comments Network , FreeBSD
«Prev || 1 || Next»

< 2008-08 >
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      

 Use OpenOffice.org
VALUE-DOMAIN.COM

最近のコメント