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

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
0
MatthiasVance
Asked:
MatthiasVance
  • 4
  • 2
1 Solution
 
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
 
MatthiasVanceAuthor 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
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

 
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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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