Dubbio funzionalità pix501

Virtual private networks e affini

Moderatore: Federico.Lagni

Rispondi
zorro77
Cisco power user
Messaggi: 84
Iscritto il: mer 02 gen , 2008 11:12 am

Salve a tutti
ma l'apparato in oggetto, permette di far accedere un client remoto collegato in VPN alla rete del pix dove è configurato, in modo da far navigare il client oltre che nella rete inside del pix, anche nella outside e principalmente in internet con l'ip pubblico della rete del pix e non con l'ip pubblico del client?

Ringrazio per l'info
Avatar utente
zot
Messianic Network master
Messaggi: 1274
Iscritto il: mer 17 nov , 2004 1:13 am
Località: Teramo
Contatta:

si.
Se c'è soluzione perchè t'arrabbi?
Se non c'è soluzione perchè t'arrabbi?


http://www.zotbox.net
zorro77
Cisco power user
Messaggi: 84
Iscritto il: mer 02 gen , 2008 11:12 am

Grazie mille per l'info
Se posto la mia configurazione, riesci a dirmi perché dal client mi collego alla VPN, accedo solo agli host dell'inside, ma non quelle dell'outside, e cosa principale non navigo su internet con l'ip pubblico della VPN, ma con quello del client.

Grazie mille in anticipo
zorro77
Cisco power user
Messaggi: 84
Iscritto il: mer 02 gen , 2008 11:12 am

Di seguito la conf


pix501# sh ver

Cisco PIX Firewall Version 6.3(5)
Cisco PIX Device Manager Version 3.0(4)

Compiled on Thu 04-Aug-05 21:40 by morlee

pix501 up 1 day 11 hours

Hardware: PIX-501, 16 MB RAM, CPU Am5x86 133 MHz
Flash E28F640J3 @ 0x3000000, 8MB
BIOS Flash E28F640J3 @ 0xfffd8000, 128KB

0: ethernet0: address is 0016.9dda.ba34, irq 9
1: ethernet1: address is 0016.9dda.ba37, irq 10
Licensed Features:
Failover: Disabled
VPN-DES: Enabled
VPN-3DES-AES: Enabled
Maximum Physical Interfaces: 2
Maximum Interfaces: 2
Cut-through Proxy: Enabled
Guards: Enabled
URL-filtering: Enabled
Inside Hosts: 50
Throughput: Unlimited
IKE peers: 10

This PIX has a Restricted (R) license.

Serial Number: 810130854 (0x30499da6)
Running Activation Key: XXXXXXXXXXXX
Configuration last modified by enable_15 at 22:28:07.268 CEDT Fri Sep 10 2010
pix501#






pix501# sh conf
: Saved
: Written by enable_15 at 22:28:11.948 CEDT Fri Sep 10 2010
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password XXXXXXXXXXXX encrypted
passwd XXXXXXXXXXXX encrypted
hostname pix501
domain-name mydomain.com
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
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
access-list ping_outside_access permit icmp any any
access-list VPNSplit permit ip 10.0.0.0 255.255.255.0 10.1.1.0 255.255.255.0
access-list VPNSplit permit icmp 10.0.0.0 255.255.255.0 10.1.1.0 255.255.255.0
access-list vpn_no_nat permit ip 10.0.0.0 255.255.255.0 10.1.1.0 255.255.255.0
access-list vpn_allow_traffic permit icmp 10.1.1.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list vpn_allow_traffic permit icmp 10.0.0.0 255.255.255.0 10.1.1.0 255.255.255.0
access-list vpn_allow_traffic permit ip 10.1.1.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list vpn_allow_traffic permit ip 10.0.0.0 255.255.255.0 10.1.1.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 192.168.1.254 255.255.255.0
ip address inside 10.0.0.254 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool poolVPN_Home 10.1.1.11-10.1.1.21 mask 255.255.255.0
pdm location 10.0.0.100 255.255.255.255 inside
pdm location 0.0.0.0 255.255.255.0 outside
pdm location 10.1.1.0 255.255.255.0 outside
pdm location 10.0.0.0 255.255.0.0 inside
pdm location 10.0.0.0 255.255.255.0 outside
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list vpn_no_nat
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
access-group vpn_allow_traffic in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.1.1 1
timeout xlate 3:00: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 sip-disconnect 0:02:00 sip-invite 0:03: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 192.168.1.0 255.255.255.0 outside
http 10.0.0.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
no floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set setVPN_Home esp-3des esp-md5-hmac
crypto dynamic-map mapDinVPN_Home 10 set transform-set setVPN_Home
crypto map mapVPN_Home 20 ipsec-isakmp dynamic mapDinVPN_Home
crypto map mapVPN_Home client configuration address initiate
crypto map mapVPN_Home client configuration address respond
crypto map mapVPN_Home client authentication LOCAL
crypto map mapVPN_Home interface outside
isakmp enable outside
isakmp key ******** address 0.0.0.0 netmask 0.0.0.0
isakmp identity address
isakmp client configuration address-pool local poolVPN_Home outside
isakmp nat-traversal 3600
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup gruppoVPN_Home address-pool poolVPN_Home
vpngroup gruppoVPN_Home dns-server 8.8.8.8
vpngroup gruppoVPN_Home wins-server 192.168.1.1
vpngroup gruppoVPN_Home default-domain mydomain.com
vpngroup gruppoVPN_Home split-tunnel VPNSplit
vpngroup gruppoVPN_Home idle-time 1800
vpngroup gruppoVPN_Home password ********
telnet 192.168.1.0 255.255.255.0 outside
telnet 10.0.0.0 255.255.255.0 inside
telnet timeout 20
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 20
console timeout 0
dhcpd address 10.0.0.100-10.0.0.200 inside
dhcpd dns 192.168.1.1 8.8.8.8
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
username test password XXXXXXXXXXXX encrypted privilege 15
terminal width 80
banner login Login Banner
Cryptochecksum:XXXXXXXXXXXX
pix501#

Grazie ancora in anticipo
zorro77
Cisco power user
Messaggi: 84
Iscritto il: mer 02 gen , 2008 11:12 am

Nessun altro riesce a dirmi come risolvere il problema sopra descritto modificando la mia attuale configurazione?
zorro77
Cisco power user
Messaggi: 84
Iscritto il: mer 02 gen , 2008 11:12 am

Forse in relazione a quel che mi serve, e a quanto mi ha confermato ZOT, la soluzione è nella risposta di questa persona:

VPN users cannot browse the Internet through the VPN. Traffic that enters the PIX on an interface cannot exit on the same interface.
Workaround:setup split-tunneling, so that the VPN user uses their own Internet connection, and only routes traffic destined for the corporate LAN over the VPN.
vpngroup GROUPNAME split-tunnel accesslistname
Where accesslistname is an access-list that defines traffic going from your corporate LAN to the ip pool you have setup for the VPN users.

Keep in mind, this is a security risk, because anything that can touch the VPN users' computer over their Internet connection, now has a link to your corporate network.

HTH.

Ho provato a riscrivere la conf aggiungendo quanto segue, ma nulla :-(


access-list from-outside-coming-in permit ip 10.1.1.0 255.255.255.0 any
access-list from-outside-coming-in permit icmp any any echo-reply
access-list from-outside-coming-in permit icmp any any unreachable
access-list from-outside-coming-in permit icmp any any time-exceeded
access-list from-outside-coming-in deny tcp any any eq 135
access-list from-outside-coming-in deny udp any any eq netbios-ns
access-list from-outside-coming-in deny udp any any eq netbios-dgm
access-list from-outside-coming-in deny tcp any any eq netbios-ssn
access-list from-outside-coming-in deny tcp any any eq 445
access-list from-outside-coming-in permit tcp any interface outside eq smtp
access-list from-outside-coming-in permit tcp any interface outside eq www
access-list from-inside-going-out permit ip 10.1.1.0 255.255.255.0 any
access-list from-inside-going-out deny tcp any any eq 135
access-list from-inside-going-out deny udp any any eq netbios-ns
access-list from-inside-going-out deny udp any any eq netbios-dgm
access-list from-inside-going-out deny tcp any any eq netbios-ssn
access-list from-inside-going-out deny tcp any any eq 445
access-list from-inside-going-out permit ip any any

access-group from-outside-coming-in in interface outside
access-group from-inside-going-out in interface inside

vpngroup gruppoVPN_Home split-tunnel from-inside-going-out

Help me please
Rispondi