Ho un cisco 1841 e utilizzo solamente le 2 fast ethernet
sulla FE0/1 , la mia wan, o un indirizzo 10.x.x.x
Sulla FE0/0 , la mia rete privata, o un indirizzo 192.x.x.x
puntando una porta della wan 10.x.x.x:6565 deve essere nattato su una porta della lan 192.x.x.25:81
ho provato in vari modi ma in nessun modo riesco a farlo funzionare. Vi riporto il codice.
Codice: Seleziona tutto
Router#show conf
Using 1003 out of 196600 bytes
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname Router
boot-start-marker
boot-end-marker
enable secret 5 $1$sAnl$cOfeN7XV6/n9NbvHTy9Mu/
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
o aaa new-model
ip subnet-zero
ip cef
no ftp-server write-enable
username xxxx password 0 xxxxxx
interface FastEthernet0/0
description $ES_LAN$
ip address 192.168.1.100 255.255.255.0
ip nat inside
duplex auto
speed auto
interface FastEthernet0/1
ip address 10.x.x.x 255.255.255.0
ip nat outside
duplex auto
speed auto
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1
ip http server
no ip http secure-server
ip nat inside source static tcp 192.x.x.25 81 interface FastEthernet0/1 6565
access-list 1 permit 192.168.1.0 0.0.0.255
control-plane
line con 0
line aux 0
line vty 0 4
login local
end
Router#