è da 2 o 3 giorni che sto impazzendo dietro al mio modem ethernet dlink dsl320t moddato, sto cercando in tutti i modi di fargli aprire le porte verso l'unico computer ad esso collegato, ma per quanto mi sforzi nmap e vari siti di monitoraggio porte mi dicono sempre che non c'è niente di aperto verso l'esterno...
collegandomi con telnet al modem iptables mi da questa situazione:
Codice: Seleziona tutto
# iptables -L -nv
Chain INPUT (policy ACCEPT 135K packets, 6008K bytes)
pkts bytes target prot opt in out source destination
3150 198K CFG tcp -- * * 192.168.1.4 0.0.0.0/0 tcp dpt:80 Records Packet's Source Interface
0 0 CFG tcp -- * * 192.168.1.4 0.0.0.0/0 tcp dpt:443 Records Packet's Source Interface
4 588 ACCEPT all -- ppp0 * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT 2188 packets, 253K bytes)
pkts bytes target prot opt in out source destination
1854 1139K ACCEPT all -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
12 1703 ACCEPT udp -- ppp0 * 0.0.0.0/0 192.168.1.4 udp dpts:1:65535
220 12566 ACCEPT tcp -- ppp0 * 0.0.0.0/0 192.168.1.4 tcp dpts:1:65535
537 15378 ACCEPT all -- ppp0 * 0.0.0.0/0 192.168.1.4
Chain OUTPUT (policy ACCEPT 135K packets, 5725K bytes)
pkts bytes target prot opt in out source destination
0 0 DROP icmp -- * ppp0 0.0.0.0/0 0.0.0.0/0 icmp type 3
0 0 DROP icmp -- * ppp0 0.0.0.0/0 0.0.0.0/0 state INVALID Codice: Seleziona tutto
# ifconfig
br0 Link encap:Ethernet HWaddr 00:1B:11:B3:37:17
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:137843 errors:0 dropped:0 overruns:0 frame:0
TX packets:138505 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8518843 (8.1 Mb) TX bytes:9150137 (8.7 Mb)
br1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:1B:11:B3:37:17
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:137856 errors:0 dropped:0 overruns:0 frame:0
TX packets:138499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8519623 (8.1 Mb) TX bytes:9149734 (8.7 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1 ASYMMTU:0
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
nas0 Link encap:Ethernet HWaddr 01:E0:03:04:05:03
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:4428 errors:0 dropped:0 overruns:0 frame:0
TX packets:3380 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1538743 (1.4 Mb) TX bytes:417822 (408.0 kb)
ppp0 Link encap:Point-Point Protocol
inet addr:82.55.112.165 P-t-P:192.168.100.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 ASYMMTU:1500
RX packets:3575 errors:0 dropped:0 overruns:0 frame:0
TX packets:2527 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1486022 (1.4 Mb) TX bytes:301400 (294.3 kb)
Grazie a tutti in anticipo per l'aiuto
