Comrades, there are 2 routers. It is necessary to organize from router 1 via LAN to distribute to router 2. Router 2 Xiaomi 4a on openwrt. The router is configured directly by ppoe, AmneziaWG + Ruantiblock. Everything works. How can I organize so that when connecting to the second router, the Internet goes according to the rules of AmneziaWG + Ruantiblock. Now I have a LAN connected from router 1 to router 2. The first subnet is 192.168.1.1, I made the second router 192.168.2.1. DHCP is disabled. There is Internet via Wi-Fi from router 2, but VPN does not work. What do I need to change to make VPN work?
connect LAN -> WAN, have router 2 act as a router - double NAT.
try adding some air to your mass of text.
I'm not very good at this. Can you describe in more detail what and how to do?
reenable DHCP on router 2, connect router 1's LAN to WAN port of router 2.
set up rules on router 2 routing all client traffic through your VPN.
1 Like
It would be also nice to explain what are you trying to achieve.
For example router 2 lan hosts can communicate with router 1 lan hosts or only to the Internet? Over VPN or can they access via ISP of router 1 as well?
We are not supposed to know what these rules are.