How to be able to connect to the same server you are VPNing through?

Hi,

I just installed the VPN service on my win2k3 server, and was wondering how I would be able to "connect" (use shared directories for example) to that same server when connected through VPN.

I tried adding a static route but wasn't successful so far.

My network information:
Public IP of the server: 85.x.x.x
Netmask: 255.255.255.0
Gateway: 85.x.x.254

All VPN clients are getting a static IP address assigned:
192.168.123.1 to 192.168.123.254
Netmask: 255.255.255.0

Kind regards,

Matthias Vance
LVL 8
MatthiasVanceAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
MatthiasVanceConnect With a Mentor Author Commented:
I'm able to access the shared directories using the IP address \\192.168.123.1.
I will just add an entry to my hosts file containing the servername to resolve that issue.

Seems that I resolved my own question.

Kind regards,

Matthias Vance
0
 
IntechnicalCommented:
Good Morninig,
I assume you have installed the RAS conponent in w2k3 server? Are you able to ping the server once connected via vpn by name and address?
Have you configured the remote access policy?

Regards
Integratech
0
 
MatthiasVanceAuthor Commented:
- I have indeed installed RAS component and enabled.
- I am able to ping the server on the PPP interface (192.168.123.1) and on the LAN interface that is connected to the internet (85.x.x.x)
- I am not able to ping the server when using the servername SERVER, it gives me the error "Unable to resolve target system name SERVER."
- I have not configured any Remote Access Policies, but there are two installed by default.

Kind regards,

Matthias Vance
0
Building an Effective Phishing Protection Program

Join Director of Product Management Todd OBoyle on April 26th as he covers the key elements of a phishing protection program. Whether you’re an old hat at phishing education or considering starting a program -- we'll discuss critical components that should be in any program.

 
JaredJ1Commented:
If you can ping the server with the LAN ip address then it is probably a DNS issue. To verify - try mapping a drive with a UNC, but instead of using the name of the server, try using the IP
i.e. "\\192.168.123.1\Sharename"
If you can successfully access, then you have a problem resolving that domain name. You mentioned that you are "staticly assigning" addresses. I assume what you actually mean is dynamically assigning as you have provided a range of addresses. Can you check to see if you are also assigning an internal DNS server? Run an "ipconfig /all" from a vpn connected workstation and see what DNS server address (if any) comes back for the vpn adaptor.
I suspect this is where the problem is. If there is no address, try changing your TCP/IP scope settings in the RAS configuration.

If you do have an internal DNS server - make sure that it's not a problem with appending the domain name suffix. i.e. try pinging with a fqdn ping "servername.domainname"
0
 
MatthiasVanceAuthor Commented:
- There is no DNS server configured for that interface (ipconfig /all shows no addresses).
- The server isn't running in a domain.
- I indeed meant that I the server is dynamically assigning from a given range of addresses.

How would I change the TCP/IP scope settings in the RAS connfiguration? I was unable to find it after a quick peek.

Kind regards,

Matthias Vance
0
 
MatthiasVanceAuthor Commented:
I must be still sleeping, I meant to ask: To what values do you suggest changing the IP scope?
0
 
JaredJ1Commented:
Sorry - the dhcp scope settings will be in the DHCP management console - not in the RAS configuration. Look in DHCP and check to see what address you are giving out as the gateway.

Do you use a DNS or WINS server on your network for resolving internal server names/addresses?
You need to specify these server addresses in your dhcp scope for vpn clients.
0
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.

All Courses

From novice to tech pro — start learning today.