Re: multiple interfaces for jail.conf(1) and jail_set(2)

2016-12-15 Thread Michael Grimm
[cc'd to freebsd-jail@FreeBSD.org where that thread originated] Valeri Galtsev wrote: > On Wed, December 14, 2016 2:30 pm, Michael Grimm wrote: >> # >> # network settings to apply/destroy during start/stop of every jail >> # >> exec.prestart = "sleep 2"; >> exec.prestart

Re: Closing ports in jail with ipfw

2016-12-15 Thread marcel
Le Thu, 15 Dec 2016 09:33:33 +0800, Ernie Luzar a écrit : > marcel wrote: > > Le Mon, 05 Dec 2016 08:31:19 +0800, > > Ernie Luzar a écrit : > > > >> 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

Re: multiple interfaces for jail.conf(1) and jail_set(2)

2016-12-15 Thread Miroslav Lachman
Michael Grimm wrote on 2016/12/15 19:36: [cc'd to freebsd-jail@FreeBSD.org where that thread originated] Valeri Galtsev wrote: On Wed, December 14, 2016 2:30 pm, Michael Grimm wrote: # # network settings to apply/destroy during start/stop of every jail # exec.prestart= "sleep 2

Re: multiple interfaces for jail.conf(1) and jail_set(2)

2016-12-15 Thread Valeri Galtsev
On Thu, December 15, 2016 2:09 pm, Miroslav Lachman wrote: > Michael Grimm wrote on 2016/12/15 19:36: >> [cc'd to freebsd-jail@FreeBSD.org where that thread originated] >> >> Valeri Galtsev wrote: >> >>> On Wed, December 14, 2016 2:30 pm, Michael Grimm wrote: >> # # network settings to

Re: Closing ports in jail with ipfw

2016-12-15 Thread Ernie Luzar
marcel wrote: Le Thu, 15 Dec 2016 09:33:33 +0800, Ernie Luzar a écrit : marcel wrote: Le Mon, 05 Dec 2016 08:31:19 +0800, Ernie Luzar a écrit : 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