Hi, I decide to use openwrt as my home dns server, still use ISP router as AP.
My current ISP router ip is 192.168.1.1
I followed https://openwrt.org/docs/guide-user/network/wifi/connect_client_wifi
- install openwrt in raspberry pi 3b
- use 192.168.1.1 to access to openwrt by wired cable
- change openwrt ip to 192.168.1.2, access to 192.168.1.2, all good
- in ISP router, I bind raspberry pi static ip address to 192.168.1.2
- in openwrt, scan and client connect to my ISP route by wifi
- in my ISP router, I can clearly see the openwrt has joined with ip address 192.168.1.2
However, I cannot access to openwrt by ip 192.168.1.2 anymore, either wired or wireless
Is the Pi (with OpenWrt) acting as a router or an AP?
If a router, you need to have a wan and a lan defined, and they must be different subnets.
If you're using the Pi as an AP, stop and reconsider -- the Pi makes a terrible wifi AP because of the very low end wifi chip and small antenna... it is not suitable as an AP.
Neither, I want to use openwrt as a dns server only
Could openwrt work as dns server to decide which ip address could access to internet and which is not? will parentel control work as a dns server only?
Also, as a dns server, I want openwrt to filter those harmful websites to kids
Yes, it could work using something like Adguard Home. However, you may be better off installing PiHole on that device for this type of purpose.
You also need to set your primary router to advertise this device as the DNS server (via DHCP)... this won't stop internet access, but obviously DNS is a good way to control internet access from a practical perspective. However, it can also be bypassed fairly easily... so you may need to setup firewall rules on your main router to prohibit the use of any other DNS servers.
Thanks so much for your advice
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.