ho un router alcatel speed touch pro
per instadare la porta 80 sul webserver della mia rete interna ci accedo tranquillamente via telet e opero sulla tabella nat.
creo la mia stradina:
[nat]=>create
protocol = tcp
inside_addr = 192.168.0.200
[inside_port] = 80
outside_addr = 0.0.0.0
[outside_port] = 80
[nat]=> save
[nat]=>
ovviamente avendo il webserver su 192.168.0.200 faccio un controllino:
[nat]=>list
Indx Prot Inside-address:Port Outside-address:Port Foreign-address:Port Flgs Expir State Control
4 6 192.168.0.200:80 84.222.55.59:80 0.0.0.0:0 instance
8 6 192.168.0.200:80 0.0.0.0:80 0.0.0.0:0 template
[nat]=>
là! che bellezza mi duplica l'instanza con il mio ip dinamico su internet... perfetto!
solo che non funziona.
mi faccio un nmap sul mio ip:
lupos@portatile:~$ nmap -P0 84.222.55.59
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-03-21 11:45 PET
Interesting ports on host-84-222-55-59.cust-adsl.tiscali.it (84.222.55.59):
(The 1657 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp filtered ssh
23/tcp open telnet
80/tcp filtered http
Nmap finished: 1 IP address (1 host up) scanned in 3.679 seconds
lupos@portatile:~$
e trovo che le porte ci sono ma sono filtrate??
NB la ssh e la http me le sono attivate io e guarda caso risultano tutte e due filtrate....
allora penso al firewall del router (strano che però il nat non lo apra...vaabbbbè proviamo)
disabilito il firewall -> disabilitato:
[ip]=>config
Forwarding on
Firewalling off
Sendredirects on
Sourcerouting off
Default TTL 64
Fraglimit 64 fragments
Fragcount currently 0 fragments
Defragment mode : nat
[ip]=>
ora dovrebbe funzionare.... invece sempre picche... perché?
![]()