Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-10-13
7
Medium Priority
?
281 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

 
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

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Let’s list some of the technologies that enable smooth teleworking. 
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

719 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