Como posso encaminhar todo o tráfego através de uma VPN site-to-site no Cisco ASA?

2

Atualmente tenho dois roteadores Cisco ASA 5100. Eles estão em sites físicos diferentes e são configurados com uma VPN de site para site, que está ativa e funcionando.

Eu posso me comunicar com as sub-redes em um site do outro e ambos estão conectados à Internet, no entanto, preciso garantir que todo o tráfego no meu site remoto passe por essa VPN para o meu site aqui. Eu sei que o tráfego da web está fazendo isso como um "tracert" confirma isso, mas eu preciso garantir que todos os outros tráfegos de rede estejam sendo direcionados através desta VPN para a minha rede aqui.

Aqui está minha configuração para o roteador ASA no meu site remoto:

hostname ciscoasa
domain-name xxxxx
enable password ######## encrypted
names
!
interface Ethernet0/0
 nameif NIACEDC
 security-level 100
 ip address x.x.x.x 255.255.255.0 
!
interface Ethernet0/1
 description External Janet Connection
 nameif JANET
 security-level 0
 ip address x.x.x.x 255.255.255.248 
!
interface Ethernet0/2
 shutdown
 no nameif
 security-level 100
 no ip address
!
interface Ethernet0/3
 shutdown
 no nameif
 security-level 100
 ip address dhcp setroute 
!
interface Management0/0
 nameif management
 security-level 100
 ip address 192.168.100.1 255.255.255.0 
 management-only
!
passwd ########## encrypted
ftp mode passive
clock timezone GMT/BST 0
clock summer-time GMT/BDT recurring last Sun Mar 1:00 last Sun Oct 2:00
dns domain-lookup NIACEDC
dns server-group DefaultDNS
 name-server 154.32.105.18
 name-server 154.32.107.18
 domain-name XXXX
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list ren_access_in extended permit ip any any 
access-list ren_access_in extended permit tcp any any 
access-list ren_nat0_outbound extended permit ip 192.168.6.0 255.255.255.0 192.168.3.0 255.255.255.0 
access-list NIACEDC_nat0_outbound extended permit ip 192.168.12.0 255.255.255.0 192.168.3.0 255.255.255.0 
access-list JANET_20_cryptomap extended permit ip 192.168.12.0 255.255.255.0 192.168.3.0 255.255.255.0 
access-list NIACEDC_access_in extended permit ip any any 
access-list NIACEDC_access_in extended permit tcp any any 
access-list JANET_access_out extended permit ip any any 
access-list NIACEDC_access_out extended permit ip any any 
pager lines 24
logging enable
logging asdm informational
mtu NIACEDC 1500
mtu JANET 1500
mtu management 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-522.bin
no asdm history enable
arp timeout 14400
nat-control
global (NIACEDC) 1 interface
global (JANET) 1 interface
nat (NIACEDC) 0 access-list NIACEDC_nat0_outbound
nat (NIACEDC) 1 192.168.12.0 255.255.255.0
access-group NIACEDC_access_in in interface NIACEDC
access-group NIACEDC_access_out out interface NIACEDC
access-group JANET_access_out out interface JANET
route JANET 0.0.0.0 0.0.0.0 X.X.X.X 1
route JANET 0.0.0.0 0.0.0.0 192.168.3.248 tunneled
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
http server enable
http 192.168.12.0 255.255.255.0 NIACEDC
http 192.168.100.0 255.255.255.0 management
http 192.168.9.0 255.255.255.0 NIACEDC
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac 
crypto map JANET_map 20 match address JANET_20_cryptomap
crypto map JANET_map 20 set pfs 
crypto map JANET_map 20 set peer X.X.X.X 
crypto map JANET_map 20 set transform-set ESP-AES-256-SHA
crypto map JANET_map interface JANET
crypto isakmp enable JANET
crypto isakmp policy 10
 authentication pre-share
 encryption aes-256
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 30
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 50
 authentication pre-share
 encryption aes-256
 hash sha
 group 5
 lifetime 86400
tunnel-group X.X.X.X type ipsec-l2l
tunnel-group X.X.X.X ipsec-attributes
 pre-shared-key *
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.100.2-192.168.100.254 management
dhcpd enable management
!
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map 
  inspect ftp 
  inspect h323 h225 
  inspect h323 ras 
  inspect rsh 
  inspect rtsp 
  inspect esmtp 
  inspect sqlnet 
  inspect skinny 
  inspect sunrpc 
  inspect xdmcp 
  inspect sip 
  inspect netbios 
  inspect tftp 
  inspect http 
!
service-policy global_policy global
prompt hostname context 
no asdm history enable

Agradecemos antecipadamente

Scott

    
por GregD 26.05.2010 / 11:35

1 resposta

1

Pelo que vejo, você está roteando 0.0.0.0 0.0.0.0 (tudo) para um IP na sua VPN. Tudo parece correto.

    
por 26.05.2010 / 11:43