[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

NAT PROBLEM

Hello Experts

My network is like this:

1.  routerA ( WAN PUBLIC - LAN X.X.X.253 ) from this router people have access to my network throut a VPN

2.  serverA   ( X.X.X.100 )
3.  serverB   ( X.X.X.101 )

3.  routerB ( WAN PUBLIC - LAN X.X.X.254 ) from this router people have access to my network throut Internet

Both routers forwards 3 tcp ports to my servers.
the network works fine exept one think. I have access to my servers ONLY if server's default gateway is set to the specific router.
( If i have server's A default gateway to X.X.X.254 its OK from this router but the other router X.X.X.254 can't forward.)

How can i solve this ?    2 gateways is this possible ?  or you have another solution ?

Thank you for your time



0
farmakis
Asked:
farmakis
1 Solution
 
Keith AlabasterCommented:
Set the default gateway on your devices to point to the Internet based router. Use local routes to return traffic to the VPN router as this will carry the 'more specific' traffic..

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now