On Wednesday, May 4, 2022, Stuart Henderson <stu.li...@spacehopper.org>
wrote:

> On 2022-05-04, Marcus MERIGHI <mcmer-open...@tor.at> wrote:
> > Hello!
> >
> > I need to block http/s traffic, but only for some Host: header values.
> > I.e. domain "xyz.abc" should be reachable, domain "klm.opq" not, both
> > behind the same IP.
> >
> > This rules out blocking with PF.
> >
> ...
> >
> > Thanks in advance for any pointers!
>
> Maybe redirect connections from the PF table to a different port, then
> handle the two ports differently in relayd?
>
> --
> Please keep replies on the mailing list.


This may be possible to do via httpd listening on different ports for each
domain, since they share the same IP address.

--

Fabio Martins


-- 
Atenciosamente,

Fabio Martins

(+5521) 97914-8106 (Signal)
https://www.linkedin.com/in/fabio1337br/

Reply via email to