Solved

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

Posted on 2008-10-13
7
250 Views
Last Modified: 2010-04-18
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
0
Comment
Question by:MatthiasVance
  • 4
  • 2
7 Comments
 
LVL 1

Expert Comment

by:Intechnical
ID: 22700878
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
 
LVL 8

Author Comment

by:MatthiasVance
ID: 22700923
- 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
 
LVL 8

Accepted Solution

by:
MatthiasVance earned 0 total points
ID: 22700970
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 10

Expert Comment

by:JaredJ1
ID: 22700999
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
 
LVL 8

Author Comment

by:MatthiasVance
ID: 22701019
- 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
 
LVL 8

Author Comment

by:MatthiasVance
ID: 22701029
I must be still sleeping, I meant to ask: To what values do you suggest changing the IP scope?
0
 
LVL 10

Expert Comment

by:JaredJ1
ID: 22703356
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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview Often, we set up VPN appliances where the connected clients are on a separate subnet and the company will have alternate internet connections and do not use this particular device as the gateway for certain servers or clients. In this case…
Learn about cloud computing and its benefits for small business owners.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now