My router allows me to setup routing tables, so it shouldn’t be impossible. I just don’t know how those work 😕
@brunoph That screenshot tells me that traffic on the local network (which has the tp-link as a default gateway) will be routed to the modem. Not sure how that compares to what you want to do?
@brunoph hopefully this TP-LINK router (by which they mean "NAT gateway", most likely) can be made to do actual routing. In that case, 192.168.0.0/24 will have a default gateway of 192.168.0.1, and the TP-LINK will route packets for external networks to 192.168.2.1, which will then be subject to the usual NAT and go outside.
Of course, the reverse direction needs to be accounted for. After un-NAT, the packets for 192.168.0.0/24 will need to be sent to TP-LINK (address of wan interface in 192.168.2.0/24)
@brunoph by "actual routing," I mean "routing without NAT enabled on the TP-LINK"
This demonstrates why I prefer equipment that can actually route, so I have a house full of Ubiquiti routers (EdgeRouter) with an SRX firewall (didn't get replaced with Ubiquiti cause it still works great)
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!