From owner-freebsd-questions@freebsd.org Tue Aug 7 18:47:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43BAD1067873 for ; Tue, 7 Aug 2018 18:47:23 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com [IPv6:2607:f8b0:4002:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFDFA7BE79 for ; Tue, 7 Aug 2018 18:47:22 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-yb0-x230.google.com with SMTP id x14-v6so1215501ybi.13 for ; Tue, 07 Aug 2018 11:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CsrwqIcQkpJMJV3KUfnNmN1R8WL0zC/HIjp5D02+tb4=; b=sGO42xaUfgaY0PpfjgespCLWVvfHRuHFE7MVa10/ZxUYH1Puezgmj4OH/9dgmCstYL KA8EBFkDjFXVfu92+kOHUjlI3hoW5cr9m3D09jfMiWlTf4DOk2H6D8gQVAfdW80XEqGx ry1G7IEOlpwIlNYYp43senWvJq8PhrE2IvrkEm2TDwpLf15t4Wb6mDkpIY0LUYMZQZbP ckBbMAmNeg+mIcuvLd+6ze+8qAWnrAPFAWkWXofpC5cUsTkS2bTYHmENUl7F8nOeMgpY U5k2hOUJhohlXgbBUxVVweid6sR9Z6ZX8PyW8uNzwav41p0dA649vCtIUd69f8sRJNF+ C8oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CsrwqIcQkpJMJV3KUfnNmN1R8WL0zC/HIjp5D02+tb4=; b=Z8evqJLAEsCpz9do6Dy6Pcf3mbCoTsLDVW9u/tZ7dfe3f2nUjkNNO0/Z8X8+NGdV1a Z3la+cAZ6+/8RE6rnqBci4052DQfSCd1oo9aNmUINa2jSVb4ognFHZG2TovN6t/irzSV TUHh4B33vOx44dABTnkc9Q7o1d0Nq0UjGeueFqrqceFINRFqWXXPzif6UgcQYX10krRQ trIYlujuYFZXCzr8Z1i/pIw6y2gNAsg04tGd8y5OvTMmd4U4YdxJ3fdYydouVO9l6TJZ BaI+Zr5pswxH3m3ErYTcujc90CJvjk/J6+L3S4QEBoeoVtMe5H/k81WQzHvHWKeJxn/Y jZ1Q== X-Gm-Message-State: AOUpUlGeELtkjYb9EUMeL7o6KTY/ZtgkZuiW5p3JGcBtfwnV6TdADBgN 04WLJugA7z7aGOwkAyf3elaFCxVxvVzKJTWF1Sbv X-Google-Smtp-Source: AAOMgpdk5TB8UH5XIZFDdsAJdSqaLRnGIngg0tFgoccZPGEfb48gjvfn8zSWVAJUJF6z+OJB1wn4rdd/LX1JOiGngXw= X-Received: by 2002:a25:b5cb:: with SMTP id d11-v6mr10546609ybg.1.1533667642276; Tue, 07 Aug 2018 11:47:22 -0700 (PDT) MIME-Version: 1.0 References: <5B6895CB.1070004@gmail.com> <8ACAABE6-5054-4AFC-81F1-2909F9D69EF8@lists.vlassakakis.de> In-Reply-To: <8ACAABE6-5054-4AFC-81F1-2909F9D69EF8@lists.vlassakakis.de> From: Shamim Shahriar Date: Tue, 7 Aug 2018 19:38:55 +0100 Message-ID: Subject: Re: Jails - IPv4 and IPv6 To: Philipp Vlassakakis Cc: "freebsd-questions@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 18:47:23 -0000 On Tue, 7 Aug 2018, 18:24 Philipp Vlassakakis, < freebsd-en@lists.vlassakakis.de> wrote: > > Am 06.08.2018 um 20:21 schrieb Shamim Shahriar >: > > > Hi Philipp > > I'm using both IPv4 and IPv6 in my vNet jails. The IPv4 gets configured > via the jail.conf, while v6 is via rc.conf from inside the jail, two line= s > to define v6 on epair and the gw as well. If you need, u can send you the > configurations later. > > They are quite stable, the pf on the hosts controls the access, works as > expected. > > Regards > > > I would like to configure the IP addresses outside the jails, because > customers may access these jails and I don't want customers to be able to > simply change the IP addresses which might lead to the Jail being > unreachable from the =E2=80=9Eoutside=E2=80=9C. > Hi Philipp Not sure about the validity of that premise. From within the jail I can always do ifconfig abc0 down or even add more IP in my jail, not to mention all other stupid things I can do and loose connectivity to it. In my limited understanding, I think jails are NOT designed to be a replacement for well known VPS or similar (like esxi or xen). Rather, they are your own personal VPS that share the resources of a physical server to minimize wasted resources within that physical realm. Maybe someone with a better understanding and knowledge can correct my misconceptions and provide a few links so I can correct myself. Best regards