OpenWRT / LEDE set up cross-segment access method
1. Static IPv4 routing, add routing table
- Visit the
Network->Static Routespage. Need to fill inTarget network,IPv4 subnet mask, andIPv4 gateway.
2. Firewall, add firewall permission rules
- Visit the
Network->Firewall->Communication Rulespage. Need to fill inName,Match rule, andAction.
Name
Just fill in the name as you like, for example ALLOW-LAN
Matching rules
Forward IPv4 from lan to lan, IP {target network}.
Action
Of course, choose Accept