Re: OpenBSD pf - redirect all DNS queries to local DNS server

2019-12-23 Thread lu hu
rdr-to works perfectly! my hair is droppng off from the speed, without ADs :) Many thanks. Wishing a great year-end for everybody!! Sent: Thursday, December 19, 2019 at 8:50 PM From: "Anthony O' Brien" To: "lu hu" Cc: misc@openbsd.org Subject: Re: OpenBSD pf - redirect

Re: OpenBSD pf - redirect all DNS queries to local DNS server

2019-12-20 Thread Stuart Henderson
On 2019-12-19, Anthony O' Brien wrote: > Long time reader, first time writing in... > >> The big question: Is there any DOC for OpenBSD about this? What pf rules >> needed to redirect any DNS server (ex.: 8.8.8.8 or 1.1.1.1) requests to > the >> DNS server running on the ROUTER, coming from the CL

Re: OpenBSD pf - redirect all DNS queries to local DNS server

2019-12-19 Thread Anthony O' Brien
Long time reader, first time writing in... > The big question: Is there any DOC for OpenBSD about this? What pf rules > needed to redirect any DNS server (ex.: 8.8.8.8 or 1.1.1.1) requests to the > DNS server running on the ROUTER, coming from the CLIENTS? You can use rdr-to[0] with pf to redirec

Re: OpenBSD pf - redirect all DNS queries to local DNS server

2019-12-19 Thread slackwaree
Use DNSmasque. Use OpenDNS for forwarding to take care of lot of crapware. Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, December 17, 2019 9:55 PM, lu hu wrote: > Our little home network: > > ISP -> ROUTER -> SWITCH -> WIFI APs -> CLIENTS > > ROUTER: OpenBSD 6

Re: OpenBSD pf - redirect all DNS queries to local DNS server

2019-12-18 Thread Bodie
On 17.12.2019 21:55, lu hu wrote: Our little home network: ISP -> ROUTER -> SWITCH -> WIFI APs -> CLIENTS ROUTER: OpenBSD 6.5, giving DHCP+fwing internet to the WIFI APs. Based on https://www.openbsd.org/faq/pf/example1.html#pf and https://www.openbsd.org/faq/pf/example1.html#dhcp CLIENTS:

Re: OpenBSD pf - redirect all DNS queries to local DNS server

2019-12-17 Thread Jordan Geoghegan
On 2019-12-17 13:24, jin&hitman&Barracuda wrote: Sorry for top posting. Looks like you need an ip address lists which is updated dynamically. But this method is not like what you described here. It doesn't response back an IP address but it does block requests which is trying to get those ad.

Re: OpenBSD pf - redirect all DNS queries to local DNS server

2019-12-17 Thread
Sorry for top posting. Looks like you need an ip address lists which is updated dynamically. But this method is not like what you described here. It doesn't response back an IP address but it does block requests which is trying to get those ad.servers. if you wish you can choose action to "reject"

OpenBSD pf - redirect all DNS queries to local DNS server

2019-12-17 Thread lu hu
Our little home network: ISP -> ROUTER -> SWITCH -> WIFI APs -> CLIENTS ROUTER: OpenBSD 6.5, giving DHCP+fwing internet to the WIFI APs. Based on https://www.openbsd.org/faq/pf/example1.html#pf and https://www.openbsd.org/faq/pf/example1.html#dhcp CLIENTS: laptops, smartphones. So everything