On Sat, 24 Sep 2022 17:07:33 +0200
Łukasz Moskała <l...@lukaszmoskala.pl> 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 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 probably use socat or 
> even relayd to work as a proxy in userspace to achieve that.
This is exactly that I want to do. For few specific IPv4 address (non routable)
I want to redirect the IPv4 address to an IPv6 address. 'relayd' seems to be 
usable 
for that case. I will try this solution since, after a short look in the man
page, it seems possible to relay from an IPv4 address to an IPv6 address.

Unfortunately, some IP providers (generally the access provided is free like 
with the WIFI in the airports) filter
even the port 443 if it is not strictly used with the https protocol. Probably 
using deep packet inspection
method.

Reply via email to