Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i have two different ISPs with NAT routers connected to the same subnet 192.168.2.0 that has a Centos6 server with 1 nic at 192.168.2.200. the gateways are GW1 192.168.2.1(default) and GW2 192.168.2.2. any connections coming in on GW1 are connecting fine. any connections coming in on GW2 are not connecting at all. If i change the default gateway on the server to GW2, then connections from GW2 are fine and any from GW1 now no longer work.

i assume packets are being routed back to the default gateway, and being dropped because the NAT is from the other gateway.

how can i setup rules to route incoming connections back via their entry gateway and not use the default route.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.