On Sun, 2023-04-02 at 15:49 +0000, Stuart Henderson wrote:
> On 2023-04-02, Jared Harper <jared@hrpr.us> wrote:
> > 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.
>
> Or af-to.
>
>
How would you use af-to this configuration?
--
Nicolas Goy
Developer & Engineer
https://kuon.ch
https://goyman.com
No comments:
Post a Comment