• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

Unable to access the server via VPN unless on the same gateway

Hi,

I believe this to be a very simple routing issue and I will attempt to explain.

We currently have two connections coming into the company the first is an ADSL the second is an SDSL, behind the connections are 2 Windows 2000 servers both acting as domain controllers

Connected to the SDSL is a sonicwall firewall, we have several site offices also with sonicwalls. Each with established hardware to hardware VPN connections.

The first server has an IP of 192.168.0.52
and the second server has an IP of 192.168.0.20
and they are both currently using the Gateway 192.168.0.1 which is the SDSL connected to the sonicwall.

As long as both servers are using the above Gateway the remote sites can see both servers with no problems,
what I need to do is set the second server to use a different Gateway i.e. the ADSL account, however when I do this, none of the site offices are able to see the second server.
0
jacass
Asked:
jacass
  • 2
1 Solution
 
Fess332Commented:
This is a routing issue, the LAN server see's all IP's not in your 192.168.0.x as not on its LAN so it goes out its gateway (192.168.0.1), if you know the IP address of the second location that goes out the ADSL connection you can set a route on the gateway (sonicwall) to use the ADSL route when it needs to go to that particular address range, So leave the gateway on the servers the same as they are now and tell the Gateway (sonicwall) that there is a different route to the other office ans to use the IP on the ADSL connection
0
 
NovensilesCommented:
On the second server set a default route so the remote VPN subnet uses the correct VPN gateway - VPN client communication will only happen via VPN gateway.

ie. assuming a remote subnet is 192.168.1.0/24 (modify as required for your remote subnet)
On server two, with default gw on ADSL IP

route -p add 192.168.1.0 mask 255.255.255.0 192.168.0.1

repeat for each remote subnet.
0
 
jacassAuthor Commented:
The second gateway is IP address 192.168.0.98

however I am by far a sonicwall expert would you be able to give me a little bit more information as to where in the sonicwall would I put this information?
0
 
jacassAuthor Commented:
Novensiles,

I did what u said and it worked a treat, thanks for that.
0

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

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