Cisco 841Mでインターネット環境が出来たので、 L2TP/IPSecを使ったVPN環境を構築中なのですが、 うまくいきませんのでご教授頂けますでしょうか。 完成像としては、iPhoneやAndroidでL2TP/IPSec接続を行い、 テザリングを使用して、パソコンから内部ネットワーク及び 内部を経由してのインターネット接続を考えています。 以下のような設定で、VPN接続を行い、スマホアプリのリモートデスクトップから内部パソコンの操作まで、出来るようになりましたが外部には接続出来ず、 テザリングで接続したPCからは内部も外部も接続出来ませんでした。 想定の通りに設定するにはどうすればよろしいでしょうか? ご教授をお願い致します。 ----- ip dhcp pool testnw network 192.168.100.0 255.255.255.0 default-router 192.168.100.1 dns-server 192.168.100.1 ip domain name test.local ip cef no ipv6 cef ! ! vpdn enable vpdn multihop ! vpdn-group 1 ! Default L2TP VPDN group accept-dialin protocol l2tp virtual-template 1 no l2tp tunnel authentication ! username test password 0 test ! redundancy ! no cdp run ! crypto keyring L2TP pre-shared-key address 0.0.0.0 0.0.0.0 key test crypto isakmp policy 1 encr 3des authentication pre-share group 2 crypto ipsec transform-set ESP-3DES-SHA1 esp-3des esp-sha-hmac mode transport crypto dynamic-map DYN_MAP 1 set nat demux set transform-set ESP-3DES-SHA1 crypto dynamic-map dynmap 1 set nat demux set transform-set ESP-3DES-SHA crypto map CRYP_MAP 1 ipsec-isakmp dynamic DYN_MAP crypto map crymap 1 ipsec-isakmp dynamic dynmap! interface GigabitEthernet0/0 switchport access vlan 100 no ip address ! interface GigabitEthernet0/1 switchport access vlan 2 no ip address ! interface GigabitEthernet0/2 no ip address ! interface GigabitEthernet0/3 no ip address ! interface GigabitEthernet0/4 no ip address duplex auto speed auto pppoe enable group global pppoe-client dial-pool-number 1 ! interface GigabitEthernet0/5 no ip address shutdown duplex auto speed auto ! interface Virtual-Template1 ip unnumbered GigabitEthernet0/4 peer default ip address pool testnwRemote ppp authentication ms-chap-v2 ! interface Vlan1 description $ETH_LAN$ ip address 10.10.10.1 255.255.255.128 ip nat inside ip virtual-reassembly in ip tcp adjust-mss 1452 ! interface Vlan2 ip address 192.168.2.254 255.255.255.0 ip nat inside ip virtual-reassembly in ! interface Vlan100 ip address 192.168.100.1 255.255.255.0 ip nat inside ip virtual-reassembly in ip tcp adjust-mss 1328 crypto map crymap ! interface Dialer1 mtu 1492 ip address negotiated ip nat outside ip virtual-reassembly in encapsulation ppp ip tcp adjust-mss 1414 dialer pool 1 dialer idle-timeout 0 dialer-group 1 ppp authentication chap pap callin ppp chap hostname 〇〇〇〇 ppp chap password 0 〇〇〇〇 ppp pap sent-username 〇〇〇〇 password 0 〇〇〇〇 ppp ipcp dns request accept no cdp enable crypto map CRYP_MAP ! ip local pool testnwRemote 192.168.100.240 192.168.100.254 ip forward-protocol nd ip http server ip http access-class 23 ip http authentication local ip http secure-server ip http timeout-policy idle 60 life 86400 requests 10000 ! ip dns server ip nat inside source list 1 interface Dialer1 overload ip nat inside source list 2 interface Dialer1 overload ip nat inside source list 3 interface Dialer1 overload ip route 0.0.0.0 0.0.0.0 Dialer1 permanent ! dialer-list 1 protocol ip permit ! access-list 1 permit 10.10.10.0 0.0.0.255 access-list 2 permit 192.168.100.0 0.0.0.255 access-list 3 permit 192.168.2.0 0.0.0.255 access-list 23 permit 10.10.10.0 0.0.0.127
↧