I own an Archer D7 modem. I have recently switched from DSL to FTTH, so my ISP provided me with their own ONT (Huawei HG8245Q) with phone, Ethernet and Wifi ports (like if Wifi was a "port" ever). I have a Raspberry Pi that works as VPN gateway to a remote site.
With old setup, D7 (which I bought because of this) had static route to Raspberry, and forwarded the rest to the DSL port. The fiber modem allows me to disable DHCP if I like, but doesn't allow me to modify routing tables: the linked article is for a modem without final Q.
Currently I succeeded in disabling ONT DHCP, put D7 in same LAN as every device and enabled DHCP on it. However I had to tell D7 to use ONT as default gateway. Internet works. While the D7 has the routing information, no client will ever go to it to address the remote VLAN (I'd have to tell my phone a routing table).
I thought I could input a static route "0.0.0.0/0.0.0.0" into the D7 through the ONT LAN address and keep remote VLAN via Raspberry LAN address, but D7 refuses 0.0.0.0 to override the default route.+
This article shows that with D7 you can configure a static default gateway, but my control panel doesn't look that. The default gateway can only be a WAN interface in my case
I know I can use LAN1 port as WAN port and put D7 behind ONT, so that I have two levels of NAT. That is the answer if I don't find another way.
But I wanted to ask: how do I specify a static route on a D7 router to a device on my LAN? It will be very useful to divert guest network traffic via Raspberry Tor :-)