## CentreCOM AR415S 設定例集 2.9 ## 106 L2TPによるリモートアクセス型LAN間接続(ファイアウォールあり) ## ルーターA(LAC)のコンフィグ ENABLE L2TP ENABLE L2TP SERVER=BOTH ADD L2TP CALL=REMOTE IP=200.100.10.1 TYPE=VIRTUAL PRECEDENCE=OUT PASSWORD=l2tpB CREATE PPP=0 OVER=eth0-ANY IPREQUEST=ON SET PPP=0 OVER=eth0-ANY BAP=OFF USERNAME="user@ispA" PASSWORD="isppasswdA" LQR=OFF ECHO=ON CREATE PPP=1 OVER=TNL-REMOTE BAP=OFF IDLE=ON IPREQUEST=ON LQR=OFF SET PPP=1 USER=AAA PASSWORD=PasswordA 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 INT=ppp1 IP=0.0.0.0 ADD IP ROUTE=0.0.0.0 INT=ppp0 NEXT=0.0.0.0 ADD IP ROUTE=192.168.20.0 MASK=255.255.255.0 INT=ppp1 NEXT=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 INT=ppp1 TYPE=PUBLIC ADD FIREWALL POLICY=NET NAT=ENHANCED INT=vlan1 GBLINT=ppp1 ADD FIREWALL POLICY=NET NAT=ENHANCED INT=vlan1 GBLINT=ppp0