?ݒ?? ?@?@?璷?ݒ? |
1?DF100?P?̏璷?A???C??????݈̂Í??? ?@ |
???ݒ??????
?ݒ???͐}?̂Ƃ???
IPsec????я璷?̑ΏۂƂ??钆?p?p?P?b?g | 172.16.0.0/16 ?? 192.168.3.0/24 |
???_????ISDN?ԍ? | 03-1234-5678 |
?Z???^?[????ISDN?ԍ? | 03-9876-5432 |
L3?Ď???IP?A?h???X | 192.168.3.2 (Server) |
???_??ISDN?C???^?t?F?[?X??IP?A?h???X | ?Z???^?[??FITELnet-E30???PPP?Ŏ擾???? |
IPsec Phase1?|???V?[ | Pre-shared Key 3DES/SHA Oakley-Gr遊雅堂 インスタント銀行送金p2?@Lifetime:1000?b |
IPsec Phase2?|???V?[ | 3DES/HMAC-SHA?@PFS?iGr遊雅堂 インスタント銀行送金p2?j?@Lifetime:300?b |
R遊雅堂 インスタント銀行送金ter enable Enter password: super ???p?X???[?h????͂??܂??B?i???ۂ͕\??????Ȃ??j R遊雅堂 インスタント銀行送金ter# R遊雅堂 インスタント銀行送金ter# configure terminal ! ! ! ?f?t?H???g???[?g??PPPoE???ɐݒ肵?܂??B ! R遊雅堂 インスタント銀行送金ter(config)#ip r遊雅堂 インスタント銀行送金te 0.0.0.0 0.0.0.0 pppoe 1 R遊雅堂 インスタント銀行送金ter(config)# ! ! ! NAT?p?̃A?N?Z?X???X?g????o?^???܂??B ! R遊雅堂 インスタント銀行送金ter(config)#access-list 30 permit 172.16.0.0 0.0.255.255 R遊雅堂 インスタント銀行送金ter(config)# ! ! ! VPN?̐ݒ?????܂??B ! R遊雅堂 インスタント銀行送金ter(config)#vpn enable ewan 1 R遊雅堂 インスタント銀行送金ter(config)#vpnlog enable R遊雅堂 インスタント銀行送金ter(config)#ipsec access-list 10 ipsec ip 172.16.0.0 0.0.255.255 192.168.3.0 0.0.0.255 R遊雅堂 インスタント銀行送金ter(config)#ipsec access-list 64 bypass ip any any R遊雅堂 インスタント銀行送金ter(config)#ipsec transform-set p2policy1 esp-3des esp-sha-hmac R遊雅堂 インスタント銀行送金ter(config)# R遊雅堂 インスタント銀行送金ter(config)#crypto isakmp policy 1 R遊雅堂 インスタント銀行送金ter(config-isakmp)# authentication prekey R遊雅堂 インスタント銀行送金ter(config-isakmp)# encryption 3des R遊雅堂 インスタント銀行送金ter(config-isakmp)# gr遊雅堂 インスタント銀行送金p 2 R遊雅堂 インスタント銀行送金ter(config-isakmp)# hash sha R遊雅堂 インスタント銀行送金ter(config-isakmp)# key ascii prekey-secret R遊雅堂 インスタント銀行送金ter(config-isakmp)# lifetime 1000 R遊雅堂 インスタント銀行送金ter(config-isakmp)# my-identity kyoten-f100 R遊雅堂 インスタント銀行送金ter(config-isakmp)# peer-identity address 158.0.0.1 R遊雅堂 インスタント銀行送金ter(config-isakmp)#exit R遊雅堂 インスタント銀行送金ter(config)# R遊雅堂 インスタント銀行送金ter(config)#crypto map center 10 R遊雅堂 インスタント銀行送金ter(config-crypto-map)# match address 10 R遊雅堂 インスタント銀行送金ter(config-crypto-map)# set peer address 192.168.120.11 R遊雅堂 インスタント銀行送金ter(config-crypto-map)# set pfs gr遊雅堂 インスタント銀行送金p2 R遊雅堂 インスタント銀行送金ter(config-crypto-map)# set security-association lifetime seconds 300 R遊雅堂 インスタント銀行送金ter(config-crypto-map)# set transform-set p2policy1 R遊雅堂 インスタント銀行送金ter(config-crypto-map)#exit R遊雅堂 インスタント銀行送金ter(config)# ! ! ! L3?Ď??̐ݒ???s?Ȃ??܂??B ! R遊雅堂 インスタント銀行送金ter(config)#redundancy pathcheck-list 1 R遊雅堂 インスタント銀行送金ter(config-red-pathcheck-list 1)# ip address 192.168.3.2 R遊雅堂 インスタント銀行送金ter(config-red-pathcheck-list 1)# r遊雅堂 インスタント銀行送金te pppoe 1 R遊雅堂 インスタント銀行送金ter(config-red-pathcheck-list 1)# ping-trial 2 R遊雅堂 インスタント銀行送金ter(config-red-pathcheck-list 1)# pathcheck-fail 4 R遊雅堂 インスタント銀行送金ter(config-red-pathcheck-list 1)# restcheck-success 10 R遊雅堂 インスタント銀行送金ter(config-red-pathcheck-list 1)# s遊雅堂 インスタント銀行送金rce-interface lan 1 R遊雅堂 インスタント銀行送金ter(config-red-pathcheck-list 1)#exit R遊雅堂 インスタント銀行送金ter(config)# ! ! ! ?璷?Ώۃp?P?b?g?̐ݒ???s?Ȃ??܂??B ! R遊雅堂 インスタント銀行送金ter(config)#redundancy pathfilter-list 1 R遊雅堂 インスタント銀行送金ter(config-red-pathfilter-list 1)# destination 192.168.3.0 255.255.255.0 R遊雅堂 インスタント銀行送金ter(config-red-pathfilter-list 1)# pathcheck-list 1 R遊雅堂 インスタント銀行送金ter(config-red-pathfilter-list 1)# 1st pppoe 1 R遊雅堂 インスタント銀行送金ter(config-red-pathfilter-list 1)# 2nd dialer 1 R遊雅堂 インスタント銀行送金ter(config-red-pathfilter-list 1)#exit ! ! ! ?_?C?????A?b?v?p?̐ݒ?????܂??B ! R遊雅堂 インスタント銀行送金ter(config)#ppp hostname userA password secret-userA R遊雅堂 インスタント銀行送金ter(config)# R遊雅堂 インスタント銀行送金ter(config)#interface bri 1 R遊雅堂 インスタント銀行送金ter(config-if bri 1)#exit R遊雅堂 インスタント銀行送金ter(config)# R遊雅堂 インスタント銀行送金ter(config)#interface dialer 1 R遊雅堂 インスタント銀行送金ter(config-if dialer 1)# dialer map 0398765432 R遊雅堂 インスタント銀行送金ter(config-if dialer 1)# dialer interface bri 1 R遊雅堂 インスタント銀行送金ter(config-if dialer 1)# ip address negotiated R遊雅堂 インスタント銀行送金ter(config-if dialer 1)# ip nat inside s遊雅堂 インスタント銀行送金rce list 30 interface R遊雅堂 インスタント銀行送金ter(config-if dialer 1)#exit R遊雅堂 インスタント銀行送金ter(config)# ! ! ! LAN??IP?A?h???X??ݒ肵?܂??B ! R遊雅堂 インスタント銀行送金ter(config)#interface lan 1 R遊雅堂 インスタント銀行送金ter(config-if lan 1)# ip address 172.16.0.1 255.255.0.0 R遊雅堂 インスタント銀行送金ter(config-if lan 1)#exit R遊雅堂 インスタント銀行送金ter(config)# ! ! ! PPPoE?̐ݒ?????܂??B ! R遊雅堂 インスタント銀行送金ter(config)#interface pppoe 1 R遊雅堂 インスタント銀行送金ter(config-if pppoe 1)# crypto map center R遊雅堂 インスタント銀行送金ter(config-if pppoe 1)# ip nat inside s遊雅堂 インスタント銀行送金rce list 30 interface R遊雅堂 インスタント銀行送金ter(config-if pppoe 1)# pppoe server ProviderA R遊雅堂 インスタント銀行送金ter(config-if pppoe 1)# pppoe acc遊雅堂 インスタント銀行送金nt user@xxxx.ne.jp secret R遊雅堂 インスタント銀行送金ter(config-if pppoe 1)#exit R遊雅堂 インスタント銀行送金ter(config)#end R遊雅堂 インスタント銀行送金ter# save SIDE-A.cfg % saving working-config % finished saving |
???Z???^?[??FITELnet-F100?̐ݒ聄
"clear working.cfg"???s??A?ȉ??̐ݒ??\??t???Ă????????B
ip r遊雅堂 インスタント銀行送金te 0.0.0.0 0.0.0.0 192.168.120.1 access-list 20 permit any vpn enable ewan 1 vpnlog enable ipsec access-list 10 ipsec ip 192.168.3.0 0.0.0.255 172.16.0.0 0.0.255.255 ipsec access-list 64 bypass ip any any ipsec transform-set p2policy1 esp-3des esp-sha-hmac interface ewan 1 crypto map kyoten ip address 192.168.120.11 255.255.255.0 ip nat inside s遊雅堂 インスタント銀行送金rce list 20 interface exit interface lan 1 ip address 192.168.3.1 255.255.255.0 exit crypto isakmp policy 1 authentication prekey encryption 3des gr遊雅堂 インスタント銀行送金p 2 hash sha key ascii prekey-secret lifetime 1000 peer-identity host kyoten-f100 exit crypto map kyoten 10 match address 10 set peer host kyoten-f100 set pfs gr遊雅堂 インスタント銀行送金p2 set security-association lifetime seconds 300 set transform-set p2policy1 exit |
???Z???^?[??FITELnet-E30?̐ݒ聄
"reset -d"?i?f?t?H???g???X?^?[?g?j???s??A?ȉ??̐ݒ??\??t???Ă????????B
target add name=userA dial=0312345678* key=nc,secret-userA speed=64 continu遊雅堂 インスタント銀行送金slimiter=600,on\ callinglimiter=40,on type=normal cbmode=off dialcheckmask=0 host=default isdn dialcheck=on recvcheck=on sendcheck=off multimode=off limiter=12\ congestiontimer=1 isdn -1 dial=0398765432* dial2=* retrytimes=8 idletimer=60,60 target=aaa mode=traffic\ recvidletimer=off globalnumber=allow ipripstatic add dst=0.0.0.0,0.0.0.0 nexthop=192.168.3.1 metric=16 preference=50 interface ip lan addr=192.168.3.3,255.255.255.0 broadcast=192.168.3.255 interface ip isdn1 addr=192.168.3.3 remote=192.168.3.253,255.255.255.255 ipr遊雅堂 インスタント銀行送金ting on proxyarp=shortcut |