Tramite l'esterno vorrei raggiungere il mio pc, allora nel router ho messo il seguente comando:
ip nat inside source static tcp 10.0.0.2 21 interface Dialer0 21
int dial0
ip nat outside
interface FastEthernet0
ip nat inside
ma se chiamo l'ftp://151.77.107.xx mi viene fuori il seguente messaggio:
IMPOSSIBILE ACCEDERE ALLA CARTELLA. VERIFICARE CHE IL NOME FILE SIA VALIDO O ACCESSIBILE.................
come posso fare?
problema con la nat
Moderatore: Federico.Lagni
- circoloco
- Cisco power user
- Messaggi: 107
- Iscritto il: lun 27 ago , 2007 7:47 pm
- Località: sAVONA!
dovresti postare la tua config per cpire meglio dove può essere l'errore 

Nothìng Much ' Somethìng More.... http://www.m-nus.com/
-
- n00b
- Messaggi: 11
- Iscritto il: dom 09 set , 2007 9:28 am
version 12.4
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Bozzolo
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxxx
enable password 7 xxxx
!
no aaa new-model
memory-size iomem 25
ip cef
!
!
!
!
ip domain lookup source-interface Dialer0
ip name-server 193.70.152.15
ip name-server 193.70.152.25
ip ddns update method xxxx
HTTP
add http://[email protected]/nic/up ... ns&hostnam
e=<h>&myip=<a>
interval maximum 0 1 0 0
!
ip ddns update method xxx
HTTP
add http://[email protected]/nic/u ... ns&hostnam
e=<h>&myip=<a>
interval maximum 0 1 0 0
!
!
!
crypto pki trustpoint TP-self-signed-806444780
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-806444780
revocation-check none
rsakeypair TP-self-signed-806444780
!
!
crypto pki certificate chain TP-self-signed-806444780
certificate self-signed 01
3082023D 308201A6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 38303634 34343738 30301E17 0D303230 36303630 31333531
345A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3830 36343434
37383030 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
E44CF61E 585E5E58 ECB1D370 647C76A0 C3EA11D3 60DA08A0 26538F80 4EB847E1
29ED4515 1573CA5C 84E6FADC 433FD337 3D9E3FA2 351E3315 D81FAD99 F81289F7
4BC03086 08DF42CC CF31356D FA5705B0 E219AF81 F6833917 3873E27B 1326668A
BD715CCD DF149623 AE5148DC A0E021A0 D9DB21F1 0117CDE1 91665C27 992F7EBD
02030100 01A36730 65300F06 03551D13 0101FF04 05300301 01FF3012 0603551D
11040B30 09820742 6F7A7A6F 6C6F301F 0603551D 23041830 16801449 3503B803
0A9F0932 E9AE250C D701B9A4 609B8A30 1D060355 1D0E0416 04144935 03B8030A
9F0932E9 AE250CD7 01B9A460 9B8A300D 06092A86 4886F70D 01010405 00038181
006BCBC4 965696C1 3D625411 0E0C08A4 AF1835E3 77C9069A 77AA11BF 4994C0A2
9FAA46B8 56B57567 1AD6AD58 6309C0F3 C464FA40 FD0C9815 326CB25C 6FEB6DC5
9F154B25 1017AEA5 4055437A 8931F1F0 D0CE1597 9DF07E0F 0EAEBD9B B14F015A
682328AB BE0D2A8F 2A89AF8E 0AD8F8EE 94C8BD63 959C7659 DF279F58 66D64DC8 1E
quit
!
!
!
!
interface ATM0
no ip address
no ip mroute-cache
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0
ip address 10.0.0.1 255.255.255.0
ip nat inside
no ip mroute-cache
speed auto
!
interface Dialer0
ip ddns update hostnamexxxxxxx.dyndns.org
ip ddns update luca host xxxx.dyndns.org
ip ddns update dyndns host xxxxx.dyndns.org
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp chap hostname xxxx
ppp chap password 7 xxxxx
ppp pap sent-username xxxx
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip http server
ip http authentication local
ip http secure-server
ip nat inside source list 120 interface Dialer0 overload
ip nat inside source static tcp 10.0.0.2 21 interface Dialer0 21
!
logging 10.0.0.3
access-list 1 permit any
access-list 120 permit ip any any
access-list 120 permit tcp any any
!
control-plane
!
!
line con 0
exec-timeout 120 0
line aux 0
password 7 xxxx
login
line vty 0 4
exec-timeout 0 0
password 7 xx
login
!
end
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Bozzolo
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxxx
enable password 7 xxxx
!
no aaa new-model
memory-size iomem 25
ip cef
!
!
!
!
ip domain lookup source-interface Dialer0
ip name-server 193.70.152.15
ip name-server 193.70.152.25
ip ddns update method xxxx
HTTP
add http://[email protected]/nic/up ... ns&hostnam
e=<h>&myip=<a>
interval maximum 0 1 0 0
!
ip ddns update method xxx
HTTP
add http://[email protected]/nic/u ... ns&hostnam
e=<h>&myip=<a>
interval maximum 0 1 0 0
!
!
!
crypto pki trustpoint TP-self-signed-806444780
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-806444780
revocation-check none
rsakeypair TP-self-signed-806444780
!
!
crypto pki certificate chain TP-self-signed-806444780
certificate self-signed 01
3082023D 308201A6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 38303634 34343738 30301E17 0D303230 36303630 31333531
345A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3830 36343434
37383030 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
E44CF61E 585E5E58 ECB1D370 647C76A0 C3EA11D3 60DA08A0 26538F80 4EB847E1
29ED4515 1573CA5C 84E6FADC 433FD337 3D9E3FA2 351E3315 D81FAD99 F81289F7
4BC03086 08DF42CC CF31356D FA5705B0 E219AF81 F6833917 3873E27B 1326668A
BD715CCD DF149623 AE5148DC A0E021A0 D9DB21F1 0117CDE1 91665C27 992F7EBD
02030100 01A36730 65300F06 03551D13 0101FF04 05300301 01FF3012 0603551D
11040B30 09820742 6F7A7A6F 6C6F301F 0603551D 23041830 16801449 3503B803
0A9F0932 E9AE250C D701B9A4 609B8A30 1D060355 1D0E0416 04144935 03B8030A
9F0932E9 AE250CD7 01B9A460 9B8A300D 06092A86 4886F70D 01010405 00038181
006BCBC4 965696C1 3D625411 0E0C08A4 AF1835E3 77C9069A 77AA11BF 4994C0A2
9FAA46B8 56B57567 1AD6AD58 6309C0F3 C464FA40 FD0C9815 326CB25C 6FEB6DC5
9F154B25 1017AEA5 4055437A 8931F1F0 D0CE1597 9DF07E0F 0EAEBD9B B14F015A
682328AB BE0D2A8F 2A89AF8E 0AD8F8EE 94C8BD63 959C7659 DF279F58 66D64DC8 1E
quit
!
!
!
!
interface ATM0
no ip address
no ip mroute-cache
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0
ip address 10.0.0.1 255.255.255.0
ip nat inside
no ip mroute-cache
speed auto
!
interface Dialer0
ip ddns update hostnamexxxxxxx.dyndns.org
ip ddns update luca host xxxx.dyndns.org
ip ddns update dyndns host xxxxx.dyndns.org
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp chap hostname xxxx
ppp chap password 7 xxxxx
ppp pap sent-username xxxx
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip http server
ip http authentication local
ip http secure-server
ip nat inside source list 120 interface Dialer0 overload
ip nat inside source static tcp 10.0.0.2 21 interface Dialer0 21
!
logging 10.0.0.3
access-list 1 permit any
access-list 120 permit ip any any
access-list 120 permit tcp any any
!
control-plane
!
!
line con 0
exec-timeout 120 0
line aux 0
password 7 xxxx
login
line vty 0 4
exec-timeout 0 0
password 7 xx
login
!
end
- circoloco
- Cisco power user
- Messaggi: 107
- Iscritto il: lun 27 ago , 2007 7:47 pm
- Località: sAVONA!
sembra tutto apposto....
aggiungi un
non ti assicuro niente....però un tentativo in più o in meno non nuoce
poi incollaci anche un
aggiungi un
Codice: Seleziona tutto
access-list 120 permit 10.0.0.0 0.0.0.255

non ti assicuro niente....però un tentativo in più o in meno non nuoce

poi incollaci anche un
Codice: Seleziona tutto
show ip nat translations
Nothìng Much ' Somethìng More.... http://www.m-nus.com/
- circoloco
- Cisco power user
- Messaggi: 107
- Iscritto il: lun 27 ago , 2007 7:47 pm
- Località: sAVONA!
serve per vedere le traslazioni nat che il router fà....se ci sono delle voci e ti sembrano giuste vuol dire ke il nat funziona
Nothìng Much ' Somethìng More.... http://www.m-nus.com/
- Wizard
- Intergalactic subspace network admin
- Messaggi: 3441
- Iscritto il: ven 03 feb , 2006 10:04 am
- Località: Emilia Romagna
- Contatta:
@ bozzolo: sei un po' masochista eh?!
Fare delle acl in entrata che permettono tutto...?!
Alla faccia della sicurezza!
Fare delle acl in entrata che permettono tutto...?!
Alla faccia della sicurezza!
Il futuro è fatto di persone che hanno delle intuizioni e visioni .....sono quelle persone che fanno la differenza...... quelle dotate di un TERZO OCCHIO....