On Sun, Apr 2, 2023, at 6:56 AM, Nicolas Goy wrote:
> Hello,
>
> Is it possible, with pf, to expose an ipv6 server on an ipv4 port?
>
> Something like this:
>
> -req on 1.2.3.4:80->pf->[1:2:3:4::1]:80
>
> I know this doesn't work:
>
> pass in on any proto {tcp, udp} to $wan_ip port {80, 443} rdr-to
> $some_ipv6
>
> I know af-to can map between families, but I don't know if I can couple
> it with rdr-to in some way.
This seems like a job for relayd.
No comments:
Post a Comment