## CentreCOM AR550S 設定例集 2.9
##  10 ISDNによる端末型インターネット接続＋IP2点間接続の併用
##  ルーターAのコンフィグ

ADD ISDN CALL=REMOTE NUMBER=0612342222 PRECEDENCE=OUT INTREQ=bri0
SET ISDN CALL=REMOTE SEARCHCLI=ON CALLINGNUMBER=0312341111
ADD ISDN CALL=ISP NUMBER=0312343333 PRECEDENCE=OUT INTREQ=bri0
CREATE PPP=0 OVER=ISDN-REMOTE IDLE=ON
CREATE PPP=1 OVER=ISDN-ISP IPREQUEST=ON IDLE=ON LQR=OFF
SET PPP=1 USER=ispuser PASSWORD=isppasswd
ENABLE IP
ENABLE IP REMOTEASSIGN
ADD IP INT=vlan1 IP=192.168.10.1 MASK=255.255.255.0
ADD IP INT=ppp0 IP=192.168.100.1 MASK=255.255.255.0
ADD IP INT=ppp1 IP=0.0.0.0
ADD IP ROUTE=192.168.20.0 MASK=255.255.255.0 INT=ppp0 NEXTHOP=192.168.100.2
ADD IP ROUTE=0.0.0.0 INT=ppp1 NEXTHOP=0.0.0.0
ENABLE FIREWALL
CREATE FIREWALL POLICY=net
ENABLE FIREWALL POLICY=net ICMP_F=PING,UNREACHABLE
DISABLE FIREWALL POLICY=net IDENTPROXY
ADD FIREWALL POLICY=net INT=vlan1 TYPE=PRIVATE
ADD FIREWALL POLICY=net INT=ppp0 TYPE=PUBLIC METHOD=PASSALL
ADD FIREWALL POLICY=net INT=ppp1 TYPE=PUBLIC
ADD FIREWALL POLICY=net NAT=ENHANCED INT=vlan1 GBLINT=ppp1
ADD FIREWALL POLICY=net RULE=1 ACTION=DENY INT=vlan1 PROTO=UDP PORT=137-139
