## CentreCOM AR550S 設定例集 2.9
##  9 ISDNによる端末型インターネット接続（DNSリレー/DHCPサーバー）
##  ルーターのコンフィグ

ADD ISDN CALL=ISP NUMBER=0312345678 PRECEDENCE=OUT INTREQ=bri0
CREATE PPP=0 OVER=ISDN-ISP IDLE=60 LQR=OFF BAP=OFF
SET PPP=0 USER=ispuser PASSWORD=isppasswd IPREQUEST=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 NEXT=0.0.0.0
ENABLE IP DNSRELAY
SET IP DNSRELAY INT=ppp0
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=DENY INT=vlan1 PROTO=UDP PORT=137-139
ENABLE DHCP
CREATE DHCP POLICY=subnet10 LEASETIME=3600
ADD DHCP POLICY=subnet10 SUBNET=255.255.255.0 ROUTER=192.168.10.1 DNSSERVER=192.168.10.1
CREATE DHCP RANGE=ip10 POLICY=subnet10 IP=192.168.10.128 NUMBER=3 PROBE=ARP
