Sempre apertura porte....
Inviato: lun 14 gen , 2008 2:06 pm
Ciao a tutti, sono nuovo anche se da un certo punto di vista non è vero dato che vi seguo da moooolto tempo.
Mi presento, sono Manuel dalla provincia di Treviso ed è da oramai un anno che posseggo un soho97.
Sono riuscito a configurare tutto, la configurazione ha tutto quello che posso desiderare ma proprio non riesco a nattare correttamente le porte per accedere ad alcuni servizi della lan per fare un pò di esperienza con linux.
Emule funziona e pure bene direi, ma quando apro le porte ad esempio del webserver o ssh non ne vuol sapere di "entrare".
Ho provato anche a cambiare le porte del webserver ad esempio, ad esempio l'8080 ma niente,
La mia configurazione è questa, se qualche anima pia ha un occhio di lince e vede qualcosa che non funziona... grazie!!!
router#show running-config
Building configuration...
Current configuration : 2696 bytes
!
version 12.3
no service pad
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 xxxxxxxxxxx
!
username xxx privilege 15 secret 5 xxx
clock timezone UTC 1
clock summer-time CDT recurring
ip subnet-zero
ip dhcp excluded-address 192.168.1.1 192.168.1.100
!
ip dhcp pool lan
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 208.67.222.222 208.67.220.220
lease 0 2
!
!
ip name-server 208.67.222.222
ip name-server 208.67.220.220
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh version 2
ip ddns update method DynDNS
HTTP
add http://xxx:[email protected]/nic/u ... =vxxx.xx.x
interval maximum 28 0 0 0
!
aaa new-model
!
aaa session-id common
password encryption aes
!
interface Ethernet0
ip ddns update DynDNS
ip address 192.168.1.1 255.255.255.0
ip nat inside
hold-queue 100 out
!
interface ATM0
ip ddns update hostname xxx.xx.x
no ip address
ip nat outside
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Dialer0
ip ddns update hostname xxx.xx.x
ip ddns update DynDNS host members.dyndns.org
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp chap hostname xxx
ppp chap password 0 xxx
ppp pap sent-username xxx password 0 xxx
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
ip http server
no ip http secure-server
ip dns server
ip dns spoofing
!
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source static udp 192.168.1.3 11873 interface Dialer0 11873
ip nat inside source static tcp 192.168.1.3 10756 interface Dialer0 10756
Qui dovrebbero esserci le istruzioni che ho tolto per ssh e http:
ip nat inside source static udp 192.168.1.3 22 interface Dialer0 22
ip nat inside source static tcp 192.168.1.3 8080 interface Dialer0 8080
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
control-plane
!
banner motd ^CBenvenuto^C
!
line con 0
no modem enable
transport preferred all
transport output all
line aux 0
transport preferred all
transport output all
line vty 0 4
exec-timeout 120 0
length 0
transport preferred all
transport input ssh
transport output all
!
scheduler max-task-time 5000
end
Ho provato anche per quanto improbabile di dirottare verso la lan anziche dal Dialer ma nisba....
Deve esserci un istruzione in più sicuramente che non riesco a comprendere...
Grazie di tutto e buona giornata.
Manuel
Mi presento, sono Manuel dalla provincia di Treviso ed è da oramai un anno che posseggo un soho97.
Sono riuscito a configurare tutto, la configurazione ha tutto quello che posso desiderare ma proprio non riesco a nattare correttamente le porte per accedere ad alcuni servizi della lan per fare un pò di esperienza con linux.
Emule funziona e pure bene direi, ma quando apro le porte ad esempio del webserver o ssh non ne vuol sapere di "entrare".
Ho provato anche a cambiare le porte del webserver ad esempio, ad esempio l'8080 ma niente,
La mia configurazione è questa, se qualche anima pia ha un occhio di lince e vede qualcosa che non funziona... grazie!!!
router#show running-config
Building configuration...
Current configuration : 2696 bytes
!
version 12.3
no service pad
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 xxxxxxxxxxx
!
username xxx privilege 15 secret 5 xxx
clock timezone UTC 1
clock summer-time CDT recurring
ip subnet-zero
ip dhcp excluded-address 192.168.1.1 192.168.1.100
!
ip dhcp pool lan
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 208.67.222.222 208.67.220.220
lease 0 2
!
!
ip name-server 208.67.222.222
ip name-server 208.67.220.220
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh version 2
ip ddns update method DynDNS
HTTP
add http://xxx:[email protected]/nic/u ... =vxxx.xx.x
interval maximum 28 0 0 0
!
aaa new-model
!
aaa session-id common
password encryption aes
!
interface Ethernet0
ip ddns update DynDNS
ip address 192.168.1.1 255.255.255.0
ip nat inside
hold-queue 100 out
!
interface ATM0
ip ddns update hostname xxx.xx.x
no ip address
ip nat outside
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Dialer0
ip ddns update hostname xxx.xx.x
ip ddns update DynDNS host members.dyndns.org
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp chap hostname xxx
ppp chap password 0 xxx
ppp pap sent-username xxx password 0 xxx
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
ip http server
no ip http secure-server
ip dns server
ip dns spoofing
!
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source static udp 192.168.1.3 11873 interface Dialer0 11873
ip nat inside source static tcp 192.168.1.3 10756 interface Dialer0 10756
Qui dovrebbero esserci le istruzioni che ho tolto per ssh e http:
ip nat inside source static udp 192.168.1.3 22 interface Dialer0 22
ip nat inside source static tcp 192.168.1.3 8080 interface Dialer0 8080
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
control-plane
!
banner motd ^CBenvenuto^C
!
line con 0
no modem enable
transport preferred all
transport output all
line aux 0
transport preferred all
transport output all
line vty 0 4
exec-timeout 120 0
length 0
transport preferred all
transport input ssh
transport output all
!
scheduler max-task-time 5000
end
Ho provato anche per quanto improbabile di dirottare verso la lan anziche dal Dialer ma nisba....
Deve esserci un istruzione in più sicuramente che non riesco a comprendere...
Grazie di tutto e buona giornata.
Manuel