Configuring IPv6 on jails

Dries Michiels driesm.michiels at gmail.com
Mon Oct 29 17:46:51 UTC 2018



> -----Original Message-----
> From: Andrey V. Elsukov <bu7cher at yandex.ru>
> Sent: maandag 29 oktober 2018 18:35
> To: Dries Michiels <driesm.michiels at gmail.com>; freebsd-ipfw at freebsd.org;
> freebsd-net at freebsd.org
> Subject: Re: Configuring IPv6 on jails
> 
> On 29.10.2018 17:56, Dries Michiels wrote:
> > *	Use IPFW IPv6 prefix translation for the jail /64 prefix; translate
> > between global routable /64 prefix and fd00::1/64 (as example). The
> > latter can be statically configured in jail.conf.
> >
> > My problem here is that the IPFW rule needs the external prefix as an
> > argument. My prefix is dynamic so this might be tricky and indicates
> > scripting to me.
> >
> > Isn't there a way to let IPFW determine what interface to use (and
> > thus IPv6
> > prefix) for external translation? (for IPv4 NAT there is no need to
> > specify the external IPv4 address)
> 
> Hi,
> 
> I think I can add this feature to ipfw_nptv6 module, but I need some spare
> time to implement it. If you are interested, I'll send the patch to you later.
> What version do you use? I suspect the patch will use some features, that are
> present only in head/ yet.

Would be nice! I’m on 12-STABLE.

> --
> WBR, Andrey V. Elsukov




More information about the freebsd-net mailing list