This is my situation:
Router A: IP 192.168.1.1 Mask 192.168.1.0/24 - Connected to the internet.
Server: - Interface eth0: inet addr:10.1.1.125 Mask:255.255.255.0 (connected to router B) - Interface ra0: inet addr:192.168.1.125 Mask:255.255.255.0 (connected to router A)
Router B: IP 10.1.1.254 Mask 10.1.1.0/24 - Connected to Server's eth0
Computer: connected to Router B via WiFi connection.
I configured a static route on Router B that use as default gateway 192.168.1.125 and i can ping that ip from computer.
The problem is: how i can connect to the internet ? In other words, traffic coming from Server eth0 should use ra0 as gateway.
Any suggestion ?