Access server by NAME via VPN


Recommended Posts

My office has a small unRAID server running. I connect to my office remotely via Sophos VPN. When I connect, I can access all Windows machines by name, not just IP. But, the unRAID server can only be accessed by IP. If I'm in the office, I CAN access it by name.

 

What am I missing that makes the unRAID server only available by IP via the VPN?

 

Thanks!

Link to comment

@Mattaton - What's the chances that the other machines on the network are getting a DHCP from your DHCP Pool that's also your DNS server? Your unRAID server getting a static DHCP address from the same pool or does it have a static IP address you've manually assigned it? If it's the latter, manually add a DNS A record to your local DNS server with the unRAID IP address so you can resolve it.

 

Then yes whenever you're connected over the VPN, make sure you're passing your DNS requests across the VPN so it'd resolve all your local LAN hostnames.

  • Like 1
Link to comment
12 hours ago, xaositek said:

@Mattaton - What's the chances that the other machines on the network are getting a DHCP from your DHCP Pool that's also your DNS server? Your unRAID server getting a static DHCP address from the same pool or does it have a static IP address you've manually assigned it? If it's the latter, manually add a DNS A record to your local DNS server with the unRAID IP address so you can resolve it.

 

Then yes whenever you're connected over the VPN, make sure you're passing your DNS requests across the VPN so it'd resolve all your local LAN hostnames.

All devices, including the unRAID server are getting IPs from a DHCP server that is also the DNS server. Then I set a reservation so it always gets the same local IP. I could probably still do something with the DNS to get the name to work, but I'm a bit of a novice on all that on Windows servers.

 

Genius. Added the A record and it works perfectly. THANK YOU!

Edited by Mattaton
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.