## CentreCOM AR415S 設定例集 2.9 ## 194 IPsecルートテンプレート+OSPFを使用したセンター機器冗長構成 ## ルーターCのコンフィグ ## ## 「#」で始まる行は、コンソールから入力しないと意味を持たないコマンドです。 ADD USER=secoff PASSWORD=PasswordS PRIVILEGE=SECURITYOFFICER CREATE PPP=0 OVER=eth0-ANY SET PPP=0 OVER=eth0-ANY USER=userC@isp PASS=isppasswdC LQR=OFF BAP=OFF ECHO=ON IPREQUEST=ON ENABLE IP ENABLE IP REMOTE 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 ROU=0.0.0.0 MASK=0.0.0.0 INT=ppp0 NEXT=0.0.0.0 ADD IP DNS INT=ppp0 ENABLE IP DNSRELAY ENABLE FIREWALL CREATE FIREWALL POLICY=net ENABLE FIREWALL POLICY=net ICMP_F=UNREACH,PING 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 RU=1 AC=ALLOW INT=ppp0 PROT=UDP PO=500 IP=0.0.0.0 GBLPO=500 GBLIP=0.0.0.0 ADD FIREWALL POLICY=net RU=2 AC=NONAT INT=ppp0 PROT=ALL IP=192.168.10.1-192.168.10.254 ENCAP=IPSEC ADD FIREWALL POLICY=net RU=3 AC=NONAT INT=vlan1 PROT=ALL IP=192.168.10.1-192.168.10.254 SET FIREWALL POLICY=net RU=3 REMOTEIP=172.16.0.1-172.16.3.254 ADD FIREWALL POLICY=net RU=4 AC=NONAT INT=vlan1 PROT=ALL IP=192.168.10.1-192.168.10.254 SET FIREWALL POLICY=net RU=4 REMOTEIP=192.168.20.1-192.168.20.254 # CREATE ENCO KEY=1 TYPE=GENE VALUE="secret-ac" # CREATE ENCO KEY=2 TYPE=GENE VALUE="secret-bc" CREATE ISAKMP POLICY=ike_ac PEER=10.10.10.1 KEY=1 MODE=AGGRESSIVE ENCALG=3DESOUTER HASH=SHA GROUP=2 SET ISAKMP POLICY=ike_ac LOCALID=vpn_ac SENDN=TRUE SENDD=TRUE SET ISAKMP POLICY=ike_ac DPDMODE=BOTH CREATE ISAKMP POLICY=ike_bc PEER=10.10.10.2 KEY=2 MODE=AGGRESSIVE ENCALG=3DESOUTER HASH=SHA GROUP=2 SET ISAKMP POLICY=ike_bc LOCALID=vpn_bc SENDN=TRUE SENDD=TRUE SET ISAKMP POLICY=ike_bc DPDMODE=BOTH CREATE IPSEC SAS=1 KEY=ISAKMP PROT=ESP ENC=3DESOUTER HASHA=SHA CREATE IPSEC BUNDLE=1 KEY=ISAKMP STRING=1 CREATE IPSEC POLICY=isa INT=ppp0 AC=PERMIT LPORT=500 RPORT=500 TRANSPORT=UDP CREATE IPSEC POLICY=vpn_ac INT=ppp0 AC=IPSEC KEYMAN=ISAKMP BUNDLE=1 PEER=10.10.10.1 SET IPSEC POLICY=vpn_ac LAD=192.168.10.0 LMA=255.255.255.0 RAD=172.16.0.0 RMA=255.255.252.0 CREATE IPSEC POLICY=vpn_bc INT=ppp0 AC=IPSEC KEYMAN=ISAKMP BUNDLE=1 PEER=10.10.10.2 SET IPSEC POLICY=vpn_bc LAD=192.168.10.0 LMA=255.255.255.0 RAD=172.16.0.0 RMA=255.255.252.0 CREATE IPSEC POLICY=inet INT=ppp0 AC=PERMIT ENABLE IPSEC ENABLE ISAKMP ADD PING POLL=1 IP=10.10.10.1 CRI=5 NOR=5 UPC=5 ENABLE PING POLL=1 ENABLE TRIGGER CREATE TRIGGER=1 MODULE=PING EVENT=DEVICEUP POLL=1 SCRIPT=ac_up.scp CREATE TRIGGER=2 MODULE=PING EVENT=DEVICEDOWN POLL=1 SCRIPT=ac_down.scp # LOGIN secoff # ENABLE SYSTEM SECURITY_MODE