Re: Nat64 and OpenBSD: ipv4 client to ipv6 server

2022-09-25 Thread Stuart Henderson
On 2022-09-24, Pierre Dupond <76nem...@gmx.ch> wrote: >> You could possibly do it on per-server basis, eg connections to >> 192.0.2.3 are redirected to 2001:db8::dead:beef and connections to >> 192.0.2.4 are redirected to 2001:db8::c0:ffee. >> I don't know if pf itself can do it, but you could pr

Re: Nat64 and OpenBSD: ipv4 client to ipv6 server

2022-09-24 Thread Pierre Dupond
On Sat, 24 Sep 2022 17:07:33 +0200 Łukasz Moskała wrote: > > NAT64 is easy, because you can fit 32-bit IPv4 address easily in 128-bit > IPv6 address. You cannot fit 128-bit IPv6 address in 32-bit IPv4 address. > > You could possibly do it on per-server basis, eg connections to > 192.0.2.3 ar

Re: Nat64 and OpenBSD: ipv4 client to ipv6 server

2022-09-24 Thread Łukasz Moskała
W dniu 24.09.2022 o 15:15, Pierre Dupond pisze: Hi All, All my question is already in the title. I plan to have an IPv6 only network. I know that with DNS64, Nat64 and pf (af-to) it is easy to connect an IPv6 address to an IPv4 address. What I want to do is the opposite direction. It coul

Nat64 and OpenBSD: ipv4 client to ipv6 server

2022-09-24 Thread Pierre Dupond
Hi All, All my question is already in the title. I plan to have an IPv6 only network. I know that with DNS64, Nat64 and pf (af-to) it is easy to connect an IPv6 address to an IPv4 address. What I want to do is the opposite direction. It could be useful occasionally to reach an IPv6 server fr