Hello network wizards,
I am trying to use a TomatoUSB device as a backup network for my company. Basically, I have a kit that has a 4g "puck" and a tomato router that is set to wireless client mode. We have many stores, so I set the IP address of the router to the expected gateway and address range that the store's PC is set up for, then I send it out for the store to plug the PC into. This gets us online, however, currently the PCs are set to look for a DNS server on our VPN, so I want the router to trick the PC into using a different DNS server.
Long story short, I want the PC to try to hit "22.214.171.124" (my internal DNS IP) but *actually* be hitting 126.96.36.199 (google's DNS).
I thought about IPTables, but that requires a prerouting and postrouting command. For the prerouting, I guess I could have the source be any IP, but for the postrouting, I want it to go back to the same placee it came from.
Let me know if any of this doesn't make sense, and I'll try to be more specific.
Thanks to anyone who helps!