Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2016 09:01:14 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        marcel <marcel.plouf@gmail.com>
Cc:        jail@freebsd.org
Subject:   Re: Closing ports in jail with ipfw
Message-ID:  <58305B2A.6040600@gmail.com>
In-Reply-To: <20161117233607.3430afd4@marcel-laptop.lan>

index | next in thread | previous in thread | raw e-mail

marcel wrote:
> Hi there,
> 
> I've created a jail and when I do a nmap on his IP, I can see that port
> 25 and 22 are open but I don't want. So i've tried to create an IPFW
> rule by adding 'ipwf -q add 00290 deny all from router to jail' to my
> host ipfw conf file and applied it but ports jail are still open. How
> can I close or open the ports of my jail ?
> 
> Thanks !

I tried to replicate your problem. nmap told me my running jail was 
down. I take this to mean the jail had no open ports that nmap could find.

Your post is to general. Provide details of your jail setup and nmap 
command you used and where you issued it from.





home | help

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