Configurare NAT
Inviato: mar 13 mar , 2007 12:10 pm
Devo configurare il NAT di un server ftp, io ho cercato sul forum informazioni e ho cercato di applicare di conseguenza le mofdifiche necessarie, ma non ottengo risultati utili, ovvero dall'esterno non mi da' la possibilità di accedere!
immagine :
Building configuration...
Current configuration : 2993 bytes
!
! Last configuration change at 10:31:25 PCTime Tue Mar 13 2007 by admin
! NVRAM config last updated at 18:22:49 PCTime Mon Mar 12 2007 by admin
!
version 12.4
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname xxxxxx
!
boot-start-marker
boot-end-marker
!
security authentication failure rate 3 log
security passwords min-length 6
logging buffered 51200 debugging
logging console critical
enable secret 5 xxxxxxxxxxxxxxxxxx
!
aaa new-model
!
!
aaa authentication login local_authen local
aaa authorization exec local_author local
!
aaa session-id common
!
resource policy
!
clock timezone PCTime 1
clock summer-time PCTime date Mar 30 2003 2:00 Oct 26 2003 3:00
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip source-route
ip cef
!
!
ip tcp synwait-time 10
no ip dhcp use vrf connected
!
!
no ip bootp server
ip name-server 62.94.0.1
ip name-server 62.94.0.2
!
username admin privilege 15 view root password 7 xxxxxxxxxxxxxx
!
!
!
interface Null0
no ip unreachables
!
interface FastEthernet0
description GA-ZL$FW_INSIDE$$ETH-LAN$
ip address 192.0.0.210 255.255.255.0 secondary
ip address x.x.x.x 255.255.255.240
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip route-cache flow
load-interval 30
speed auto
full-duplex
!
interface Serial0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
encapsulation frame-relay
ip route-cache flow
load-interval 30
no fair-queue
frame-relay lmi-type ansi
!
interface Serial0.1 point-to-point
description HDSL Eutelia
ip address 999.999.999.999 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
frame-relay interface-dlci 20 IETF
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0.1
!
ip http server
ip http authentication local
ip nat inside source list 101 interface Serial0.1 overload
ip nat inside source static tcp 192.0.0.156 21 interface Serial0.1 21
!
logging trap debugging
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.0.0.0 0.0.0.255
access-list 100 remark VTY Access-class list
access-list 100 remark SDM_ACL Category=1
access-list 100 permit ip x.x.x.x 0.0.0.15 any
access-list 101 permit ip any any
access-list 102 permit ip 192.0.0.0 0.0.0.255 any
access-list 111 permit tcp any any eq ftp
dialer-list 1 protocol ip permit
no cdp run
!
control-plane
!
banner login ^CCCHDSL
^C
!
line con 0
login authentication local_authen
transport output telnet
line aux 0
login authentication local_authen
transport output telnet
line vty 0 4
access-class 100 in
authorization exec local_author
login authentication local_authen
transport input telnet
!
scheduler allocate 4000 1000
scheduler interval 500
ntp clock-period 17179922
end
immagine :
Building configuration...
Current configuration : 2993 bytes
!
! Last configuration change at 10:31:25 PCTime Tue Mar 13 2007 by admin
! NVRAM config last updated at 18:22:49 PCTime Mon Mar 12 2007 by admin
!
version 12.4
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname xxxxxx
!
boot-start-marker
boot-end-marker
!
security authentication failure rate 3 log
security passwords min-length 6
logging buffered 51200 debugging
logging console critical
enable secret 5 xxxxxxxxxxxxxxxxxx
!
aaa new-model
!
!
aaa authentication login local_authen local
aaa authorization exec local_author local
!
aaa session-id common
!
resource policy
!
clock timezone PCTime 1
clock summer-time PCTime date Mar 30 2003 2:00 Oct 26 2003 3:00
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip source-route
ip cef
!
!
ip tcp synwait-time 10
no ip dhcp use vrf connected
!
!
no ip bootp server
ip name-server 62.94.0.1
ip name-server 62.94.0.2
!
username admin privilege 15 view root password 7 xxxxxxxxxxxxxx
!
!
!
interface Null0
no ip unreachables
!
interface FastEthernet0
description GA-ZL$FW_INSIDE$$ETH-LAN$
ip address 192.0.0.210 255.255.255.0 secondary
ip address x.x.x.x 255.255.255.240
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip route-cache flow
load-interval 30
speed auto
full-duplex
!
interface Serial0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
encapsulation frame-relay
ip route-cache flow
load-interval 30
no fair-queue
frame-relay lmi-type ansi
!
interface Serial0.1 point-to-point
description HDSL Eutelia
ip address 999.999.999.999 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
frame-relay interface-dlci 20 IETF
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0.1
!
ip http server
ip http authentication local
ip nat inside source list 101 interface Serial0.1 overload
ip nat inside source static tcp 192.0.0.156 21 interface Serial0.1 21
!
logging trap debugging
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.0.0.0 0.0.0.255
access-list 100 remark VTY Access-class list
access-list 100 remark SDM_ACL Category=1
access-list 100 permit ip x.x.x.x 0.0.0.15 any
access-list 101 permit ip any any
access-list 102 permit ip 192.0.0.0 0.0.0.255 any
access-list 111 permit tcp any any eq ftp
dialer-list 1 protocol ip permit
no cdp run
!
control-plane
!
banner login ^CCCHDSL
^C
!
line con 0
login authentication local_authen
transport output telnet
line aux 0
login authentication local_authen
transport output telnet
line vty 0 4
access-class 100 in
authorization exec local_author
login authentication local_authen
transport input telnet
!
scheduler allocate 4000 1000
scheduler interval 500
ntp clock-period 17179922
end