Sei sulla pagina 1di 1

COMANDOS BSICOS PARA LA CONFIGURACIN DE UNA VPN SITE-TO-SITE

CREAMOS UNA ACL EXTENDIDA PARA IDENTIFICAR EL TRFICO INTERESANTE (config)# access-list n permit protocolo red_origen+ willcard red_destino+ willcard

CREAMOS LA POLTICA ISAKMP (FASE 1) (config)# crypto isakmp policy n (config-isakmp)# encryption DES/3DES/AES (config-isakmp)# authentication pre-share /rsa-encr / rsa-sig (config-isakmp)# group n 1/3/5 (config-isakmp)# exit (config)# crypto isakmp key CONTRASEA address IP_PEER CREAMOS LA TRANSFORMADA (FASE 2) (config)# crypto ipsec transform-set NOMBRE_TRANSFORMADA ah-md5-hmac /esp-3des/ esp-sha-hmac/esp-aes..... (config)# crypto map NOMBRE_MAPA n ipsec-isakmp (config-crypto-map)# description DESCRIPCIN (config-crypto-map)# set peer IP_PEER (config-crypto-map)# set transform-set NOMBRE_TRANSFORMADA (config-crypto-map)# match address n_ACL (config-crypto-map)# exit APLICAMOS EL CRYPTO MAPA CREADO A LA INTERFACE (config)# interface tipo/n (config-if)# crypto map NOMBRE_MAPA

Potrebbero piacerti anche