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

Accessing Server over Router-to-router VPN, server has 2 network cards for WAN and LAN

I have a non_DC server (2008 R2) that I put 2 network cards in.  The first card is for the WAN side and has all public IP addressing.  No hardware firewall, only built-in windows firewall.  The purpose of the server is web hosting.

The second network card has local IP addressing, but with no default gateway.  This is to prevent networking problems by having multiple default gateways on 1 computer.  I think all network traffic would come to a halt without some tweaking.

Everything works fine, but now I have another need of accessing this server.  There is a file share I need to get at, but it has to be done over a router-to-router VPN (sonicwalls).

Onsite computers where this server resides can ping and access the file share no problem.

A computer that is connected via the VPN can resolve via DNS the correct internal IP for that server, but cannot ping it or access the file share.  I assume this is because the server has no default gateway on the LAN NIC and cannot respond to a different subnet over the VPN.

Is there a configuration that will allow this to work?  I really need to access the file share and the entire server over the internal LAN address, not the WAN side.  But I need to do that over the router-to-router VPN connection in addition to with computers on the LAN at the main office (which currently work fine).
1 Solution
You will need to put a static route on the server pointing to the remote network.
netsmithcentralAuthor Commented:
ha, too easy.  Yes, that's pretty much what I figured.  Wasn't sure if I was missing something else.  Thanks, everything works like a charm.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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