Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2016 23:36:07 +0100
From:      marcel <marcel.plouf@gmail.com>
To:        jail@freebsd.org
Subject:   Closing ports in jail with ipfw
Message-ID:  <20161117233607.3430afd4@marcel-laptop.lan>

next in thread | raw e-mail | index | archive | help
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 !



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