Hi,
Een vreemd probleem. Ik wil m'n linux bak _open_ maken. Of toch een paar poorten, maar laat het ons makkelijk maken: alle poorten open. Ik heb alle regels, behalve de standaard uit IPtables gehaald, en alles op Accept gezet. IPtables gereload en gerestart, en weet ik nog wat meer, maar NMAP localhost blijft zeggen dat alles potdicht zit. Behalve dan mail, web, ssh, ftp en nog een paar kleinigheden.
Wat blokt m'n poorten als het IPtables niet is? IPchains kan niet want mijn kernel ondersteunt die niet. Ik heb wel wat geëxperimenteerd met Bastille, maar als IPtables leeg is, doet dat er toch niet toe?
Alle suggesties welkom!
IPtables -L =>
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp spt:bootpc dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp spt:bootpc dpt:bootps
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
ACCEPT tcp -- anywhere anywhere tcp spt:bootps dpt:bootpc
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT udp -- anywhere anywhere udp spt:bootpc dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp spt:bootpc dpt:bootps
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
ACCEPT tcp -- anywhere anywhere tcp spt:bootps dpt:bootpc
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 192.168.0.0/24 anywhere
ACCEPT all -- 192.168.0.0/24 anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
nmap localhost =>
Port State Service
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop-3
212/tcp open anet
443/tcp open https
587/tcp open submission
953/tcp open rndc
6000/tcp open X11
10000/tcp open snet-sensor-mgmt
Een vreemd probleem. Ik wil m'n linux bak _open_ maken. Of toch een paar poorten, maar laat het ons makkelijk maken: alle poorten open. Ik heb alle regels, behalve de standaard uit IPtables gehaald, en alles op Accept gezet. IPtables gereload en gerestart, en weet ik nog wat meer, maar NMAP localhost blijft zeggen dat alles potdicht zit. Behalve dan mail, web, ssh, ftp en nog een paar kleinigheden.
Wat blokt m'n poorten als het IPtables niet is? IPchains kan niet want mijn kernel ondersteunt die niet. Ik heb wel wat geëxperimenteerd met Bastille, maar als IPtables leeg is, doet dat er toch niet toe?
Alle suggesties welkom!
IPtables -L =>
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp spt:bootpc dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp spt:bootpc dpt:bootps
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
ACCEPT tcp -- anywhere anywhere tcp spt:bootps dpt:bootpc
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT udp -- anywhere anywhere udp spt:bootpc dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp spt:bootpc dpt:bootps
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
ACCEPT tcp -- anywhere anywhere tcp spt:bootps dpt:bootpc
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 192.168.0.0/24 anywhere
ACCEPT all -- 192.168.0.0/24 anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
nmap localhost =>
Port State Service
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop-3
212/tcp open anet
443/tcp open https
587/tcp open submission
953/tcp open rndc
6000/tcp open X11
10000/tcp open snet-sensor-mgmt