modificare configurazione per forwardare delle porte
Inviato: ven 06 feb , 2015 10:51 am
Qualcuno mi sa dire come modificare questa configurazione per forwardare verso l'interno alcune porte? Oppure ancora meglio, se possibile, abilitare il protocollo upnp per lo scopo.
ecco la mia configurazione (una telecom routed con 8 indirizzi ip statici)
c857w#show run
Building configuration...
Current configuration : 1588 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname c857w
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxx.
!
no aaa new-model
!
!
dot11 syslog
!
!
ip cef
ip domain name icpergine1.local
ip name-server 208.67.222.222
!
!
!
username cisco password 7 xxx
!
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
ip address 195.103.221.166 255.255.255.252
ip nat outside
ip virtual-reassembly
pvc 8/35
oam-pvc manage
encapsulation aal5snap
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Dot11Radio0
no ip address
shutdown
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
station-role root
!
interface Vlan1
ip address 195.103.39.44 255.255.255.248 secondary
ip address 192.168.0.4 255.255.255.0
ip nat inside
ip virtual-reassembly
hold-queue 100 out
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 ATM0.1
!
no ip http server
no ip http secure-server
ip nat pool Lan 195.103.39.44 195.103.39.44 netmask 255.255.255.248
ip nat inside source list 50 pool Lan overload
!
logging 192.168.0.3
access-list 50 permit 192.168.0.0 0.0.0.255
!
control-plane
!
!
line con 0
exec-timeout 240 0
login local
no modem enable
line aux 0
line vty 0 4
exec-timeout 240 0
login local
length 0
!
scheduler max-task-time 5000
end
c857w#
ecco la mia configurazione (una telecom routed con 8 indirizzi ip statici)
c857w#show run
Building configuration...
Current configuration : 1588 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname c857w
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxx.
!
no aaa new-model
!
!
dot11 syslog
!
!
ip cef
ip domain name icpergine1.local
ip name-server 208.67.222.222
!
!
!
username cisco password 7 xxx
!
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
ip address 195.103.221.166 255.255.255.252
ip nat outside
ip virtual-reassembly
pvc 8/35
oam-pvc manage
encapsulation aal5snap
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Dot11Radio0
no ip address
shutdown
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
station-role root
!
interface Vlan1
ip address 195.103.39.44 255.255.255.248 secondary
ip address 192.168.0.4 255.255.255.0
ip nat inside
ip virtual-reassembly
hold-queue 100 out
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 ATM0.1
!
no ip http server
no ip http secure-server
ip nat pool Lan 195.103.39.44 195.103.39.44 netmask 255.255.255.248
ip nat inside source list 50 pool Lan overload
!
logging 192.168.0.3
access-list 50 permit 192.168.0.0 0.0.0.255
!
control-plane
!
!
line con 0
exec-timeout 240 0
login local
no modem enable
line aux 0
line vty 0 4
exec-timeout 240 0
login local
length 0
!
scheduler max-task-time 5000
end
c857w#