Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2006 22:32:06 +0300
From:      Andrei Kolu <antik@bsd.ee>
To:        freebsd-pf@freebsd.org
Subject:   Re: pf firewall shows ports are open?
Message-ID:  <200610242232.07076.antik@bsd.ee>
In-Reply-To: <6a1189840610241208k701bfa53v44035536f06d8c91@mail.gmail.com>
References:  <2c84c1de0610231318m170dfe55wbc4f3af4fc929b22@mail.gmail.com> <200610242127.33703.antik@bsd.ee> <6a1189840610241208k701bfa53v44035536f06d8c91@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 24 October 2006 10:08 pm, you wrote:
> On 10/24/06, Andrei Kolu <antik@bsd.ee> wrote:
> > I got strange problem here, looks like I am dumb enough to understand
> > this.
> >
> > My current PF rules:
>
> --cut--
>
> > nmap 192.168.2.100
>
> i haven't looked at your pf-rules properly, but you're scanning from
> inside the LAN ?
> if you need your firewall to block outside access, you should scan
> from the outside

I want to block all access, not just outside. Or it shows open ports because I 
scanned from same computer?

Now I understand- scanned from other computer:
-----------------------------------------------------------------------------------
Interesting ports on 192.168.2.100:
Not shown: 1679 filtered ports
PORT   STATE  SERVICE
80/tcp closed http
MAC Address: 00:50:8D:xx:xx:xx (Abit Computer)

Nmap finished: 1 IP address (1 host up) scanned in 24.686 seconds
-----------------------------------------------------------------------------------

Scanned from localhost:
-----------------------------------------------------------------------------------
Interesting ports on 192.168.2.100:
Not shown: 1676 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
631/tcp open  ipp

Nmap finished: 1 IP address (1 host up) scanned in 14.438 seconds
-----------------------------------------------------------------------------------

OK, looks like my firewall is in working condition actually, only problem now- 
I can't connect to SMB shares for some reasons....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610242232.07076.antik>