sede A
Codice: Seleziona tutto
!
crypto isakmp policy 10
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key 6 xyzxyz hostname sedeb.no-ip.org no-xauth
!
!
crypto ipsec transform-set VPN-SHA esp-3des esp-sha-hmac
!
crypto map VPN 1 ipsec-isakmp
description "Tunnel to B"
set peer sedeb.no-ip.org dynamic
set transform-set VPN-SHA
match address CRYPTO*ACL*PER*TUNNEL
!
interface FastEthernet0/1
description WAN
mac-address xxxx.xxxx.xxxx
ip address dhcp
ip nat outside
ip virtual-reassembly
load-interval 30
duplex auto
speed auto
no keepalive
no cdp enable
crypto map VPN
!
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1
!
!
ip nat inside source list ACL*PER*PAT interface FastEthernet0/1 overload
!
ip access-list extended ACL*PER*PAT
deny ip 192.168.1.0 0.0.0.255 192.168.0.0 0.0.0.255
permit ip 192.168.1.0 0.0.0.255 any
ip access-list extended CRYPTO*ACL*PER*TUNNEL
permit ip 192.168.1.0 0.0.0.255 192.168.0.0 0.0.0.255
!
Codice: Seleziona tutto
!
crypto isakmp policy 10
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key 6 xyzxyz address 85.x.x.x 255.255.0.0 no-xauth
!
!
crypto ipsec transform-set VPN-SHA esp-3des esp-sha-hmac
!
crypto map VPN 1 ipsec-isakmp
description "Tunnel to sede A"
set peer 85.x.x.x
set transform-set VPN-SHA
match address CRYPTO*ACL*PER*TUNNEL
!
!
interface Dialer0
description "WAN logica"
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
no cdp enable
ppp chap hostname [email protected]
ppp chap password 7 xyzxyz
ppp pap sent-username [email protected] password xyzxyz
ppp ipcp dns request
ppp ipcp wins request
crypto map VPN
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
ip nat inside source list ACL*PER*PAT interface Dialer0 overload
!
ip access-list extended ACL*PER*PAT
deny ip 192.168.0.0 0.0.0.255 192.168.1.0 0.0.0.255
permit ip 192.168.0.0 0.0.0.255 any
ip access-list extended CRYPTO*ACL*PER*TUNNEL
permit ip 192.168.0.0 0.0.0.255 192.168.1.0 0.0.0.255
!
in caso potrei mettere un altro client no-ip...
in principio mi sono aiutato con questo
http://www.ciscoforums.it/viewtopic.php ... light=nat0