Monday, 11 June 2018

linux - Respond request on right gateway

I've got a quite simple scenario. Unfortunately I found no answer matching this problem. I have two linux routers (=gateways) for different WANs (192.168.0.70 and 192.168.0.80). Both are forwarding the port 50000 to a linux server 192.168.0.60. The server has only one interface with default gateway 192.168.0.70. With no additional configuration you have this behaviour:


incomming request over 192.168.0.70 -> response working (beacuse of default gateway)


incomming request over 192.168.0.80 -> not working because response takes 192.168.0.70


How can I manage that the requests through 192.168.0.80 are send back through 192.168.0.80?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...