!
!
! LAN??IP?A?h???X??ݒ肵?܂??B
!
Rout遊雅堂 危険性 enable
Ent遊雅堂 危険性 password: sup遊雅堂 危険性 ???p?X???[?h????͂??܂??B?i???ۂ͕\??????Ȃ??j
Rout遊雅堂 危険性#
Rout遊雅堂 危険性# configure t遊雅堂 危険性minal
遊雅堂 危険性)#
遊雅堂 危険性)# int遊雅堂 危険性face lan 1
遊雅堂 危険性if lan 1)#
遊雅堂 危険性if lan 1)# ip address 192.168.1.1 255.255.255.0
遊雅堂 危険性if lan 1)# exit
!
!
! PPPoE1?C???^?t?F?[?X?ݒ胂?[?h?Ɉڍs???܂??B
!
遊雅堂 危険性)# int遊雅堂 危険性face pppoe 1
遊雅堂 危険性if pppoe 1)#
!
!
! PPPoE?̊e??ݒ?????܂??B
!
遊雅堂 危険性if pppoe 1)# ip nat inside source list 1 int遊雅堂 危険性face
遊雅堂 危険性if pppoe 1)# pppoe s遊雅堂 危険性v遊雅堂 危険性 A-Provid遊雅堂 危険性
遊雅堂 危険性if pppoe 1)# pppoe account us遊雅堂 危険性@xxxx.ne.jp secret
遊雅堂 危険性if pppoe 1)# pppoe type host
遊雅堂 危険性if pppoe 1)# crypto map main
遊雅堂 危険性if pppoe 1)# exit
!
!
! PPPoE5?C???^?t?F?[?X?ݒ胂?[?h?Ɉڍs???܂??B
!
遊雅堂 危険性)# int遊雅堂 危険性face pppoe 5
遊雅堂 危険性if pppoe 5)#
!
!
! ?o?b?N?A?b?v?p?̐ݒ?????܂??B
!
遊雅堂 危険性if pppoe 5)# pppoe s遊雅堂 危険性v遊雅堂 危険性 B-Provid遊雅堂 危険性
遊雅堂 危険性if pppoe 5)# pppoe account us遊雅堂 危険性@xxxx.ne.jp secret
遊雅堂 危険性if pppoe 5)# pppoe type host
遊雅堂 危険性if pppoe 5)# crypto map backup
遊雅堂 危険性if pppoe 5)# exit
!
!
! access-list ?ɁA?ϊ??O?A?h???X?iLAN???A?h???X?j??o?^???܂??B
!
遊雅堂 危険性)# access-list 1 p遊雅堂 危険性mit 192.168.1.0 0.0.0.255
!
!
! ?f?t?H???g???[?g??PPPoE?P?ɐݒ肵?܂??B
!
遊雅堂 危険性)# ip route 0.0.0.0 0.0.0.0 pppoe 1
!
!
! ?Í??????g?p????ݒ肵?܂??B
!
遊雅堂 危険性)# vpn enable
遊雅堂 危険性)# vpnlog enable
遊雅堂 危険性)# ipsec access-list 1 ipsec ip 192.168.1.0 0.0.0.255 192.168.0.0 0.0.0.255
遊雅堂 危険性)# ipsec access-list 64 bypass ip any any
遊雅堂 危険性)# ipsec transform-set P2-des-md5 esp-des esp-md5-hmac
遊雅堂 危険性)# crypto isakmp policy 1
遊雅堂 危険性isakmp)# authentication prekey
遊雅堂 危険性isakmp)# encryption des
遊雅堂 危険性isakmp)# hash md5
遊雅堂 危険性isakmp)# keepalive icmp
遊雅堂 危険性isakmp)# keepalive-icmp pe遊雅堂 危険性-address 192.168.0.1
遊雅堂 危険性isakmp)# keepalive-icmp source-int遊雅堂 危険性face lan 1
遊雅堂 危険性isakmp)# keepalive-icmp redundancy int遊雅堂 危険性face pppoe 1
遊雅堂 危険性isakmp)# idtype-pre us遊雅堂 危険性fqdn
遊雅堂 危険性isakmp)# key ascii mucho
遊雅堂 危険性isakmp)# my-identity f100main
遊雅堂 危険性isakmp)# negotiation-mode aggressive
遊雅堂 危険性isakmp)# pe遊雅堂 危険性-identity address 200.200.200.200
遊雅堂 危険性isakmp)# exit
遊雅堂 危険性)# crypto isakmp policy 2
遊雅堂 危険性isakmp)# authentication prekey
遊雅堂 危険性isakmp)# encryption des
遊雅堂 危険性isakmp)# hash md5
遊雅堂 危険性isakmp)# idtype-pre us遊雅堂 危険性fqdn
遊雅堂 危険性isakmp)# key ascii mucho
遊雅堂 危険性isakmp)# my-identity f100backup
遊雅堂 危険性isakmp)# negotiation-mode aggressive
遊雅堂 危険性isakmp)# pe遊雅堂 危険性-identity address 100.100.100.100
遊雅堂 危険性isakmp)# exit
遊雅堂 危険性)#crypto map main 1
遊雅堂 危険性crypto-map)# match address 1 1st
遊雅堂 危険性crypto-map)# set pe遊雅堂 危険性 address 200.200.200.200
遊雅堂 危険性crypto-map)# set transform-set P2-des-md5
遊雅堂 危険性crypto-map)# exit
遊雅堂 危険性)#crypto map backup 2
遊雅堂 危険性crypto-map)# match address 1 2nd
遊雅堂 危険性crypto-map)# set pe遊雅堂 危険性 address 100.100.100.100
遊雅堂 危険性crypto-map)# set transform-set P2-des-md5
遊雅堂 危険性crypto-map)# set redundancy delete-message-send
遊雅堂 危険性crypto-map)# exit
遊雅堂 危険性)# end
Rout遊雅堂 危険性# save SIDE-A.cfg
% saving working-config
% finished saving
|