Problema con una VPN dietro NAT
Inviato: mar 13 giu , 2006 5:05 pm
Buon giorno a tutti.
Stiamo cercando di configurare una VPN su un PIX 501. Il PIX si trova dietro il Router del provider (KPNQWEST), quindi dietro NAT del router stesso.
Abbiamo provato con il client VPN di Windows ma non c'è stata alcuna connessione. Gli errori di risposta erano sempre gli stessi: 781, 800, 792.
Abbiamo tentato anche con il VPN Cisco Client 4.6, ma nessun risultato se non un errore 412.
L'interfaccia esterna del PIX ha indirizzo: 10.0.0.2
L'interfaccia interna del PIX ha indirizzo: 192.168.1.1
La configurazione del PIX è la seguente:
Result of firewall command: "show runn"
: Saved
:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password NBXDfRNE6rz.iSWR encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
domain-name ciscopix.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
name 192.168.1.32 Tassalar
name 192.168.1.13 Datty3
name 192.168.1.12 Datty2
name 192.168.1.11 Datty1
name 192.168.1.27 Cad7
name 192.168.1.26 Cad6
name 192.168.1.25 Cad5
name 192.168.1.24 Cad4
name 192.168.1.23 Cad3
name 192.168.1.22 Cad2
name 192.168.1.21 Cad1
name 192.168.1.5 Storagebk
name 192.168.1.4 Storage2
name 192.168.1.3 Storage1
name 192.168.1.2 Datty4
name 192.168.1.98 Linux_Stage
name 192.168.1.16 Datty6
name 192.168.1.15 Datty5
name 192.168.1.111 reallinuxbox
object-group network Cad
network-object Cad1 255.255.255.255
network-object Cad2 255.255.255.255
network-object Cad3 255.255.255.255
network-object Cad4 255.255.255.255
network-object Cad5 255.255.255.255
network-object Cad6 255.255.255.255
network-object Cad7 255.255.255.255
object-group network Segreteria
network-object Datty4 255.255.255.255
network-object Datty1 255.255.255.255
network-object Datty2 255.255.255.255
network-object Datty3 255.255.255.255
network-object Datty5 255.255.255.255
network-object Datty6 255.255.255.255
object-group network Server
network-object Storage1 255.255.255.255
network-object Storage2 255.255.255.255
network-object Storagebk 255.255.255.255
object-group network Tecnici
network-object Tassalar 255.255.255.255
network-object Linux_Stage 255.255.255.255
network-object reallinuxbox 255.255.255.255
object-group service Browsing tcp
port-object eq www
port-object eq ftp-data
port-object eq ftp
port-object eq https
object-group service Mail tcp
port-object eq pop3
port-object eq smtp
object-group service Service tcp
port-object eq telnet
port-object eq ssh
object-group service Utility tcp-udp
port-object eq echo
port-object eq domain
access-list inside_outbound_nat0_acl permit ip any 192.168.1.192 255.255.255.224
access-list outside_cryptomap_dyn_20 permit ip any 192.168.1.192 255.255.255.224
pager lines 24
logging on
logging trap notifications
logging host inside Linux_Stage
mtu outside 1500
mtu inside 1500
ip address outside 10.0.0.2 255.0.0.0
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool newpool 192.168.1.200-192.168.1.210
pdm location Datty4 255.255.255.255 inside
pdm location Storage1 255.255.255.255 inside
pdm location Storage2 255.255.255.255 inside
pdm location Storagebk 255.255.255.255 inside
pdm location Datty1 255.255.255.255 inside
pdm location Datty2 255.255.255.255 inside
pdm location Datty3 255.255.255.255 inside
pdm location Datty5 255.255.255.255 inside
pdm location Datty6 255.255.255.255 inside
pdm location Cad1 255.255.255.255 inside
pdm location Cad2 255.255.255.255 inside
pdm location Cad3 255.255.255.255 inside
pdm location Cad4 255.255.255.255 inside
pdm location Cad5 255.255.255.255 inside
pdm location Cad6 255.255.255.255 inside
pdm location Cad7 255.255.255.255 inside
pdm location Tassalar 255.255.255.255 inside
pdm location Linux_Stage 255.255.255.255 inside
pdm location reallinuxbox 255.255.255.255 inside
pdm location 192.168.1.192 255.255.255.224 outside
pdm location 192.168.1.200 255.255.255.254 outside
pdm location 192.168.1.220 255.255.255.254 inside
pdm location 10.0.0.1 255.255.255.255 outside
pdm group Cad inside
pdm group Segreteria inside
pdm group Server inside
pdm group Tecnici inside
pdm logging notifications 512
pdm history enable
arp timeout 14400
global (outside) 1 10.0.0.10-10.0.0.30
global (outside) 1 10.0.0.31
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 192.168.1.0 255.255.255.0 0 0
route outside 0.0.0.0 0.0.0.0 10.0.0.1 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http Tassalar 255.255.255.255 inside
http Linux_Stage 255.255.255.255 inside
http Datty4 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
tftp-server inside Linux_Stage ciscopixconf
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-l2tp
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto dynamic-map outside_dyn_map 20 match address outside_cryptomap_dyn_20
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
isakmp enable outside
isakmp nat-traversal 20
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup vpn2006 address-pool newpool
vpngroup vpn2006 dns-server 212.216.112.112
vpngroup vpn2006 idle-time 1800
vpngroup vpn2006 password ********
telnet timeout 5
ssh Tassalar 255.255.255.255 inside
ssh Linux_Stage 255.255.255.255 inside
ssh timeout 5
console timeout 0
vpdn enable outside
dhcpd dns 212.*.*.* 212.*.*.*
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:5c82e20e1df55d67725d9042375f6fa4
: end
Potreste aiutarci a capire dove sta l'errore di fondo?
Grazie.
Stiamo cercando di configurare una VPN su un PIX 501. Il PIX si trova dietro il Router del provider (KPNQWEST), quindi dietro NAT del router stesso.
Abbiamo provato con il client VPN di Windows ma non c'è stata alcuna connessione. Gli errori di risposta erano sempre gli stessi: 781, 800, 792.
Abbiamo tentato anche con il VPN Cisco Client 4.6, ma nessun risultato se non un errore 412.
L'interfaccia esterna del PIX ha indirizzo: 10.0.0.2
L'interfaccia interna del PIX ha indirizzo: 192.168.1.1
La configurazione del PIX è la seguente:
Result of firewall command: "show runn"
: Saved
:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password NBXDfRNE6rz.iSWR encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
domain-name ciscopix.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
name 192.168.1.32 Tassalar
name 192.168.1.13 Datty3
name 192.168.1.12 Datty2
name 192.168.1.11 Datty1
name 192.168.1.27 Cad7
name 192.168.1.26 Cad6
name 192.168.1.25 Cad5
name 192.168.1.24 Cad4
name 192.168.1.23 Cad3
name 192.168.1.22 Cad2
name 192.168.1.21 Cad1
name 192.168.1.5 Storagebk
name 192.168.1.4 Storage2
name 192.168.1.3 Storage1
name 192.168.1.2 Datty4
name 192.168.1.98 Linux_Stage
name 192.168.1.16 Datty6
name 192.168.1.15 Datty5
name 192.168.1.111 reallinuxbox
object-group network Cad
network-object Cad1 255.255.255.255
network-object Cad2 255.255.255.255
network-object Cad3 255.255.255.255
network-object Cad4 255.255.255.255
network-object Cad5 255.255.255.255
network-object Cad6 255.255.255.255
network-object Cad7 255.255.255.255
object-group network Segreteria
network-object Datty4 255.255.255.255
network-object Datty1 255.255.255.255
network-object Datty2 255.255.255.255
network-object Datty3 255.255.255.255
network-object Datty5 255.255.255.255
network-object Datty6 255.255.255.255
object-group network Server
network-object Storage1 255.255.255.255
network-object Storage2 255.255.255.255
network-object Storagebk 255.255.255.255
object-group network Tecnici
network-object Tassalar 255.255.255.255
network-object Linux_Stage 255.255.255.255
network-object reallinuxbox 255.255.255.255
object-group service Browsing tcp
port-object eq www
port-object eq ftp-data
port-object eq ftp
port-object eq https
object-group service Mail tcp
port-object eq pop3
port-object eq smtp
object-group service Service tcp
port-object eq telnet
port-object eq ssh
object-group service Utility tcp-udp
port-object eq echo
port-object eq domain
access-list inside_outbound_nat0_acl permit ip any 192.168.1.192 255.255.255.224
access-list outside_cryptomap_dyn_20 permit ip any 192.168.1.192 255.255.255.224
pager lines 24
logging on
logging trap notifications
logging host inside Linux_Stage
mtu outside 1500
mtu inside 1500
ip address outside 10.0.0.2 255.0.0.0
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool newpool 192.168.1.200-192.168.1.210
pdm location Datty4 255.255.255.255 inside
pdm location Storage1 255.255.255.255 inside
pdm location Storage2 255.255.255.255 inside
pdm location Storagebk 255.255.255.255 inside
pdm location Datty1 255.255.255.255 inside
pdm location Datty2 255.255.255.255 inside
pdm location Datty3 255.255.255.255 inside
pdm location Datty5 255.255.255.255 inside
pdm location Datty6 255.255.255.255 inside
pdm location Cad1 255.255.255.255 inside
pdm location Cad2 255.255.255.255 inside
pdm location Cad3 255.255.255.255 inside
pdm location Cad4 255.255.255.255 inside
pdm location Cad5 255.255.255.255 inside
pdm location Cad6 255.255.255.255 inside
pdm location Cad7 255.255.255.255 inside
pdm location Tassalar 255.255.255.255 inside
pdm location Linux_Stage 255.255.255.255 inside
pdm location reallinuxbox 255.255.255.255 inside
pdm location 192.168.1.192 255.255.255.224 outside
pdm location 192.168.1.200 255.255.255.254 outside
pdm location 192.168.1.220 255.255.255.254 inside
pdm location 10.0.0.1 255.255.255.255 outside
pdm group Cad inside
pdm group Segreteria inside
pdm group Server inside
pdm group Tecnici inside
pdm logging notifications 512
pdm history enable
arp timeout 14400
global (outside) 1 10.0.0.10-10.0.0.30
global (outside) 1 10.0.0.31
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 192.168.1.0 255.255.255.0 0 0
route outside 0.0.0.0 0.0.0.0 10.0.0.1 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http Tassalar 255.255.255.255 inside
http Linux_Stage 255.255.255.255 inside
http Datty4 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
tftp-server inside Linux_Stage ciscopixconf
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-l2tp
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto dynamic-map outside_dyn_map 20 match address outside_cryptomap_dyn_20
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
isakmp enable outside
isakmp nat-traversal 20
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup vpn2006 address-pool newpool
vpngroup vpn2006 dns-server 212.216.112.112
vpngroup vpn2006 idle-time 1800
vpngroup vpn2006 password ********
telnet timeout 5
ssh Tassalar 255.255.255.255 inside
ssh Linux_Stage 255.255.255.255 inside
ssh timeout 5
console timeout 0
vpdn enable outside
dhcpd dns 212.*.*.* 212.*.*.*
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:5c82e20e1df55d67725d9042375f6fa4
: end
Potreste aiutarci a capire dove sta l'errore di fondo?
Grazie.