Newsgroup: it.comp.reti.cisco
Titolo: traslare indirizzo pubblico su privato

Salve a tutti
Ho un piccolo problema da risolvere
Ho un Pix 501 e ip pubblici e devo fare in modo che puntando ad uno di
questi, la connessione venga reindirizzata ad un indirizzo interno
della rete, questo usando porte specifiche.
Seguendo le istruzioni trovate sul si Cisco, ho provato con le righe:
access-list intweb permit tcp any host x.x.x.76 eq 90
static (inside,outside) tcp x.x.x.76 90 192.168.0.60 90 netmask
255.255.255.255 0 0
access-group intweb in interface outside
Ma senza alcun risultato.
Dove è l'errore?
Grazie
Adry75

 ha scritto nel messaggio 
news:1142009853.8...@v46g2000cwv.googlegroups.com...


Ma senza alcun risultato.
Dove č l'errore?
Grazie
Adry75

Ciao
Che ip hai sull' interfaccia outside?
L' ip che vuoi usare per la traslazione *.*.*.76 fa parte della subnet
dell' interfaccia o è in un' altra subnet?
L' acl ti viene matchata?
Cippa

Questa è la mia configurazione
Cosa non và?
------------------------------------------------------------------------------------
PIX Version 6.3(4)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
hostname pixfirewall
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 ils 389
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.0.249 Claudio
name 192.168.0.111 Test
name 192.168.0.90 Adriano
object-group network accedi
  network-object 192.168.0.4 255.255.255.255
  network-object 192.168.0.7 255.255.255.255
  network-object 192.168.0.8 255.255.255.255
  network-object 192.168.0.9 255.255.255.255
  network-object 192.168.0.1 255.255.255.255
  network-object Claudio 255.255.255.255
  network-object 192.168.0.3 255.255.255.255
  network-object 192.168.0.11 255.255.255.255
  network-object Test 255.255.255.255
  network-object Adriano 255.255.255.255
access-list acl_in permit ip object-group accedi any
access-list acl_in permit ip host 192.168.0.10 any
access-list acl_in permit ip host 192.168.0.60 any log
access-list acl_in permit ip host 192.168.0.70 any log
access-list intweb permit tcp any host x.x.x.76 eq 90
pager lines 24
logging on
logging trap informational
logging device-id ipaddress inside
logging host inside 192.168.0.10
mtu outside 1500
mtu inside 1500
ip address outside 100.x.x.73 255.255.255.248
ip address inside 192.168.0.1 255.255.255.0
ip verify reverse-path interface outside
ip verify reverse-path interface inside
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.0.10 255.255.255.255 inside
pdm group accedi inside
pdm logging warnings 100
no pdm history enable
arp timeout 14400
global (outside) 1 100.x.x.74-100.x.x.75
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 dns 0 0
access-group acl_in in interface inside
access-group intweb in interface outsideroute outside 0.0.0.0 0.0.0.0
100.x.x.78 1
static (inside,outside) tcp x.x.x.76 90 192.168.0.60 90 netmask
255.255.255.255 0 0
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 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
aaa authentication enable console LOCAL
aaa authentication http console LOCAL
aaa authentication ssh console LOCAL
aaa authentication telnet console LOCAL
aaa authorization command LOCAL
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-pptp
sysopt connection permit-l2tp
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
management-access inside
console timeout 5
privilege show level 0 command version
privilege show level 0 command curpriv
privilege show level 3 command pdm
privilege show level 3 command blocks
privilege show level 3 command ssh
privilege configure level 3 command who
privilege show level 3 command isakmp
privilege show level 3 command ipsec
privilege show level 3 command vpdn
privilege show level 3 command local-host
privilege show level 3 command interface
privilege show level 3 command ip
privilege configure level 3 command ping
privilege show level 3 command uauth
privilege configure level 5 mode enable command configure
privilege show level 5 command running-config
privilege show level 5 command privilege
privilege show level 5 command clock
privilege show level 5 command ntp
privilege show level 5 mode configure command logging
privilege show level 5 command fragment
terminal width 80
---------------------------------------------------------------------------------------------



access-list intweb permit tcp any host x.x.x.76 eq 90
pager lines 24
logging on
logging trap informational
logging device-id ipaddress inside
logging host inside 192.168.0.10
mtu outside 1500
mtu inside 1500
ip address outside 100.x.x.73 255.255.255.248
ip address inside 192.168.0.1 255.255.255.0
ip verify reverse-path interface outside
ip verify reverse-path interface inside
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.0.10 255.255.255.255 inside
pdm group accedi inside
pdm logging warnings 100
no pdm history enable
arp timeout 14400
global (outside) 1 100.x.x.74-100.x.x.75
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 dns 0 0
access-group acl_in in interface inside
access-group intweb in interface outsideroute outside 0.0.0.0 0.0.0.0
100.x.x.78 1
static (inside,outside) tcp x.x.x.76 90 192.168.0.60 90 netmask
255.255.255.255 0 0


se l' acl non ti viene matchata potrebbe essere un problema di proxy
arp
Nella conf ti manca il comando
sysopt proxyarp outside
che fa si che il pix risponda alle richieste arp anche per gli
indirizzi definiti sulle static.
Cippa

Scusa cosa intendi per "acl matchata" ?
ciao
Adry

se l' acl viene utilizzata.
se fai uno
 sh access-list  ( mi sembra)
ti fa vedere tutte le acl configurate sulla macchina, l' ultimo campo ,
quello fra parentesi ti dice il nuomero di volte che l' acl è stata
usata.
Cipppa

Ho provato ad inserire la riga
sysopt proxyarp outside
ma mi ha risposto:
----------------------------------------------------------------------
pix(config)# sysopt proxyarp outside
Unknown option <proxyarp>
Usage:
    [no] sysopt connection { permit-ipsec | permit-l2tp |
               permit-pptp | timewait | {tcpmss [minimum] <bytes>} }
    [no] sysopt ipsec pl-compatible
    [no] sysopt noproxyarp <if-name>
    [no] sysopt nodnsalias { inbound | outbound }
    [no] sysopt radius ignore-secret
    [no] sysopt uauth allow-http-cache
---------------------------------------------------------------------------------
Che devo far?
Ciao
Adry

prova con
no  sysopt noproxyarp outside,
ma l' acl ti viene matchata?
Cippa