Closing ports in jail with ipfw

Ernie Luzar luzar722 at gmail.com
Sat Nov 19 15:01:16 UTC 2016


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.





More information about the freebsd-jail mailing list