One NIC, One IP, Multiple Gateways
An example of my setup:
192.168.1.5 - Local IP of Fedora System, hosting SSH and Apache
192.168.1.1 - Local IP of Gateway 1
192.168.1.2 - Local IP of Gateway 2
220.127.116.11 - Internet IP of Gateway 1
18.104.22.168 - Internet IP of Gateway 2
I'm trying to forward ports 22 (ssh) and 80 (http) to the Fedora Server through BOTH gateways, both pointing to the same local IP of the server.
The problem is the server is only accepting incoming connections from which ever gateway is set to be the default gateway.
Any idea on how I could accomplish this while using only one IP for the Fedora server? I know I could set up multiple IPs and multiple gateways for those IPs to resolve this.