## CentreCOM AR550S 設定例集 2.9
##  129 アプリケーションゲートウェイ（HTTPプロキシー）
##  ルーターのコンフィグ

CREATE PPP=0 OVER=eth0-ANY
SET PPP=0 OVER=eth0-ANY BAP=OFF IPREQUEST=ON USER=user@isp PASSWORD=isppasswd LQR=OFF ECHO=ON
ENABLE IP
ENABLE IP REMOTEASSIGN
ADD IP INT=vlan1 IP=192.168.10.1 MASK=255.255.255.0
ADD IP INT=ppp0 IP=0.0.0.0
ADD IP ROUTE=0.0.0.0 INT=ppp0 NEXTHOP=0.0.0.0
ENABLE FIREWALL
CREATE FIREWALL POLICY=net
ENABLE FIREWALL POLICY=net ICMP_F=PING,UNREACH
DISABLE FIREWALL POLICY=net IDENTPROXY
ADD FIREWALL POLICY=net INT=vlan1 TYPE=PRIVATE
ADD FIREWALL POLICY=net INT=ppp0 TYPE=PUBLIC
ADD FIREWALL POLICY=net NAT=ENHANCED INT=vlan1 GBLINT=ppp0
ADD FIREWALL POLICY=net RULE=1 ACTION=ALLOW INTERFACE=VLAN1 PROTOCOL=TCP PORT=80 REMOTEIP=192.168.10.1
ADD FIREWALL POLICY=net RULE=2 ACTION=DENY INTERFACE=VLAN1 PROTOCOL=TCP PORT=80
SET IP DNS CACHE SIZE=250
ADD FIREWALL POLICY=net PROXY=HTTP INT=vlan1 GBLINT=ppp0 DIRECTION=OUT
ADD FIREWALL POLICY=net HTTPFILTER=urllist.txt DIRECTION=OUT
DISABLE FIREWALL POLICY=net HTTPCOOKIES
