ich hab ein paar Fragen zu 'iptables':
Code: Alles auswählen
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:5271 <- eMule Port
ACCEPT udp -- anywhere anywhere udp dpt:5272 <- eMule Port
ACCEPT tcp -- anywhere anywhere udp dpt:www
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Wieso ist das so? Ich möchte alle Pakete droppen außer die, die auf den 3 Ports ankommen... wie muss ich das einstellen?
Wenn ich folgendes eingebe dann öffnet der irgendwie ziemlich viele Ports.
Code: Alles auswählen
iptables -P INPUT ACCEPT
Code: Alles auswählen
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-08-30 12:46 CEST
Interesting ports on localhost (127.0.0.1):
Not shown: 65519 closed ports
PORT STATE SERVICE
23/tcp open telnet
25/tcp open smtp
111/tcp open rpcbind
113/tcp open auth
139/tcp open netbios-ssn
445/tcp open microsoft-ds
548/tcp open afpovertcp
631/tcp open ipp
2208/tcp open unknown
4700/tcp open unknown
4712/tcp open unknown
5271/tcp open unknown
8118/tcp open unknown
9050/tcp open unknown
32818/tcp open unknown
44525/tcp open unknown
Nmap finished: 1 IP address (1 host up) scanned in 1.461 seconds
Das der telnet Port offen ist, liegt das evtl. daran das ein Programm auf diesem Port horscht?
Ich danke euch schon mal für die Hilfe!