Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2020 06:37:52 +0530
From:      Reshad Patuck <reshadpatuck1@gmail.com>
To:        Ernie Luzar <luzar722@gmail.com>
Cc:        freebsd-questions@freebsd.org, freebsd-jail@freebsd.org
Subject:   Re: how to make a non-vnet jail local only?
Message-ID:  <CADaJeD13QKSRxqrxBCyAfGVS8GFt-vXna=L9fT7AXbhekNh18A@mail.gmail.com>
In-Reply-To: <5F2A051D.4030604@gmail.com>
References:  <5F2A051D.4030604@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ernie,

For local system only access you can use 127.0.0.1 as the jail IP.

You could use a pf rdr rule to allow only local access to the port running
your jailed service.

Best,
Reshad

On Wed, 5 Aug, 2020, 06:32 Ernie Luzar, <luzar722@gmail.com> wrote:

> I have non-vnet jails working that can reach the public internet.
> But now I would like to make some local only non-vnet jails that can
> only access other local only non-vnet jails. BY local meaning have no
> access to the public internet.
>
> How do I make this happen?
>
> Thanks for any pointers.
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADaJeD13QKSRxqrxBCyAfGVS8GFt-vXna=L9fT7AXbhekNh18A>