Date: Mon, 29 Oct 2018 20:34:32 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Dries Michiels <driesm.michiels@gmail.com>, freebsd-ipfw@freebsd.org, freebsd-net@freebsd.org Subject: Re: Configuring IPv6 on jails Message-ID: <edadee75-045e-dd57-f3f4-7ed820dc275f@yandex.ru> In-Reply-To: <005c01d46f97$8389d4a0$8a9d7de0$@gmail.com> References: <005c01d46f97$8389d4a0$8a9d7de0$@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --p3rusFNpVgJlhvnEgd9kwCM8fiSs8SHmV Content-Type: multipart/mixed; boundary="TXeTULvTSs9z4DfunhIW1sMcIHcIX2AB6"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Dries Michiels <driesm.michiels@gmail.com>, freebsd-ipfw@freebsd.org, freebsd-net@freebsd.org Message-ID: <edadee75-045e-dd57-f3f4-7ed820dc275f@yandex.ru> Subject: Re: Configuring IPv6 on jails References: <005c01d46f97$8389d4a0$8a9d7de0$@gmail.com> In-Reply-To: <005c01d46f97$8389d4a0$8a9d7de0$@gmail.com> --TXeTULvTSs9z4DfunhIW1sMcIHcIX2AB6 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 lat= ter > can be statically configured in jail.conf. >=20 > 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. >=20 > 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 spe= cify > 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. --=20 WBR, Andrey V. Elsukov --TXeTULvTSs9z4DfunhIW1sMcIHcIX2AB6-- --p3rusFNpVgJlhvnEgd9kwCM8fiSs8SHmV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlvXRKgACgkQAcXqBBDI oXrLLAf8Dod966KaYTepvDIhv2sCpTH29w2xGz8KUepWnPzviGIvtgnOSnXwzWzI KtQ3STftY52/dAmothFTUr6EC2lZEdLmwWYFoD1H9kLhDbJeBm/JxRO7Wvzsgk4U J4sS5giVARD8oiZlnd57GMpsKundSyxNXU0fPDE2grPZfskkd5pjA1R8hBAnT9TT HfD65X1c1syJQb2fpKBZe0rtO0rNqY7IHKVceHOMIup/awkiSDsGgugGB0egLp1I a/N2cfbtyzMAwS/iPvOvcO+FKvGDQzMnMrTTaI0RodrTQugRTOl5b8dYy3CthCvJ J8Bnp/hZiz2kqv8XB5H2uYzmi2G50A== =9L3V -----END PGP SIGNATURE----- --p3rusFNpVgJlhvnEgd9kwCM8fiSs8SHmV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?edadee75-045e-dd57-f3f4-7ed820dc275f>