1 Introduction
The upper-level router is the ikuai soft router, and the data processing is handed over to the soft router. OpenWrt runs on the router, and connects to the upper-level router through LAN to only perform WIFI receiving and sending functions.
This tutorial can only use the LAN as a switch, not the WAN port!
2. Set LAN port IP
The IP of the LAN port can be assigned statically or dynamically by DHCP, depending on the distribution method of the upper-level route. I choose the static IP method here.
3. Disable DHCP
4. Close dnsmasq
5. Turn off "Unique Authorization" and "DNS Redirection"
Because the upper level already has a DHCP server, the only authorization is turned off
DNS redirection will cause DNS redirection of all devices under OpenWrt, resulting in slow network access, so it is turned off.
So far the configuration is complete.
6. Firewall settings
6.1 Enable MSS clamping
This option should be turned on, otherwise it will cause WeChat pictures and red envelopes to be received very slowly
6.2 Turn off IP dynamic masquerading
IP dynamic masquerading is NAT, we don't need NAT here, so turn it off
7. Other
For Aikuai, Openwrt, etc. that use virtual machines, you must pay attention to network card allocation and line connections to prevent large loops. Otherwise, there will be a problem of slow access to the network by devices under the secondary route, because the network is blocked.