Configurazione Cisco 870 per telegestione da remoto e dyndns

Tutto ciò che ha a che fare con la configurazione di apparati Cisco (e non rientra nelle altre categorie)

Moderatore: Federico.Lagni

Rispondi
tecno84
n00b
Messaggi: 2
Iscritto il: sab 04 ott , 2014 9:44 pm

Ciao a tutti,

Cisco 870 con configurazione per accesso alla rete ( ISP con contratto senza Ip statico ) perfettamente funzionante.
Ora ho la seguente necessità:
- Telegestire tramite software proprietario una centrale con indirizzo es. 192.168.12.40 porta 10001
- Configurare il dyndns.it o .org per consentire l'accesso dal pc remoto.
Comandi aggiunti alla configurazione funzionante :
Per la centrale da telegestire:
- ip nat inside source static tcp 192.168.12.40 10001 interface Dialer1 10001
- access-list 101 permit tcp any any eq 10001

Per il Dyndns.org:
- ip ddns update method ddns
HTTP
add http:// utente:[email protected]/nic/update?system=dyndns&hostname=<h>&myip=<a>
remove http://utente:[email protected]/ ... h>&myip=<a>
interval maximum 28 0 0 0
- ip ddns update hostname hostname.dyndns.org
ip ddns update ddns
infine :
- access-list 101 permit tcp host 204.13.248.112 eq www any log

Sembra tutto OK ma non riesco a collegarmi
Ping verso host creato funziona correttamente
Stesso problema ma con router Telecom con semplice wizard funziona correttamente tutto.

Qualcuno con più esperienza sa darmi qualche dritta sulla configurazione Grazie
Intanto questo è lo sh run (in rosso le parti aggiunte ma non funzionanti):

Current configuration : 2458 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$zulR$nOmgPQxJVPvwn0nVMsbQc/
!
username root password 7 0232217825292E25411F07
no aaa new-model
ip subnet-zero
ip cef
!
!
ip dhcp excluded-address 192.168.12.1 192.168.12.99
ip dhcp excluded-address 192.168.12.150 192.168.12.254
!
ip dhcp pool LAN
import all
network 192.168.12.0 255.255.255.0
default-router 192.168.12.254
dns-server 88.149.128.12 88.149.128.22
!
!
ip ips po max-events 100
ip ddns update method ddns
HTTP
add http:// utente:[email protected]/nic/update?system=dyndns&hostname=<h>&myip=<a>
remove http://utente:[email protected]/ ... h>&myip=<a>
interval maximum 28 0 0 0

!
no ftp-server write-enable
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface Vlan1
ip address 192.168.12.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer1
ip ddns update hostname ?????.dyndns.org
ip ddns update ddns

ip address negotiated
ip mtu 1300
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username ??????? password 7 00504B50330D5F075A
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static tcp 192.168.12.40 10001 interface Dialer1 10001
!
access-list 1 permit 192.168.12.0 0.0.0.255
access-list 10 permit 88.149.145.128 0.0.0.8
access-list 10 permit 192.168.12.0 0.0.0.255
access-list 101 permit tcp any any eq 10001
access-list 101 permit tcp host 204.13.248.112 eq www any log

dialer-list 1 protocol ip permit
!
!
control-plane
!
!
line con 0
logging synchronous
login local
no modem enable
transport preferred all
transport output all
line aux 0
transport preferred all
transport output all
line vty 0 4
access-class 10 in
login local
international
transport preferred all
transport input all
transport output all
!
scheduler max-task-time 5000
end
tecno84
n00b
Messaggi: 2
Iscritto il: sab 04 ott , 2014 9:44 pm

Qualcuno con buona volontà riesce a darmi qualche dritta.
Grazie
Rispondi