open...@phbits.com writes:
> Try this for relayd.conf
>
> table { 127.0.0.1 }
>
> http protocol httpfilter {
> return error
> match request header "Host" value "www.openbsd.org" tag "HOST_OK"
> block request
> pass tagged "HOST_OK"
> }
relay "proxy" {
listen on 127.0.0.1 port 8080
protocol httpfilter
forward to port 8081
}
From: owner-m...@openbsd.org on behalf of Anthony J.
Bentley
Sent: Wednesday, June 19, 2019 4:19 AM
To:
Hi,
I have relayd configured as a basic HTTP pass-through:
http protocol httpfilter {
return error
}
relay "proxy" {
listen on 127.0.0.1 port 8080
protocol httpfilter
forward to destination
}
I'd like to prevent certain domains
3 matches
Mail list logo