Access files on server from client

Post your questions about VPN Gate Academic Experiment Service here. Please answer questions if you can afford.
Post Reply
mjpreplab
Posts: 4
Joined: Mon Sep 03, 2018 3:25 pm

Access files on server from client

Post by mjpreplab » Mon Sep 03, 2018 3:44 pm

Hey, I'm pretty new to this vpn software. I've successfully installed and configured the server & 1 client pc. I want to access/Browse the files on the server via the client computer. How do I do this?

fenice
Posts: 183
Joined: Sun Jul 19, 2015 4:23 pm

Re: Access files on server from client

Post by fenice » Mon Sep 03, 2018 3:56 pm

You don't actually mention which OS the VPN server software is running on. In any case, you should be able to configure the VPN server to provide some sharing protocol, such as SMB, then connect using the same protocol from the client - that's what I do from my android phone to view any of the files in my LAN.
Regards


Bill

mjpreplab
Posts: 4
Joined: Mon Sep 03, 2018 3:25 pm

Re: Access files on server from client

Post by mjpreplab » Mon Sep 03, 2018 4:03 pm

My bad, they're both windows 10 x64

fenice
Posts: 183
Joined: Sun Jul 19, 2015 4:23 pm

Re: Access files on server from client

Post by fenice » Mon Sep 03, 2018 4:28 pm

mjpreplab wrote:
> My bad, they're both windows 10 x64

That's no problem. :) It should be fairly simple to configure SMB shares on the server and an SMB client on the VPN client. Unfortunately I haven't used Windows very much since Windows 7 so I can't help much with Windows 10 but there should be plenty of articles on the internet that describe how to do it. One thing you may need to watch out for is any firewall you have on bothe client and server, you may need to let them through your firewall although I think it's fairly simple tehse days.
Regards


Bill

mjpreplab
Posts: 4
Joined: Mon Sep 03, 2018 3:25 pm

Re: Access files on server from client

Post by mjpreplab » Sun Sep 09, 2018 2:45 pm

fenice wrote:
Mon Sep 03, 2018 4:28 pm
mjpreplab wrote:
> My bad, they're both windows 10 x64

That's no problem. :) It should be fairly simple to configure SMB shares on the server and an SMB client on the VPN client. Unfortunately I haven't used Windows very much since Windows 7 so I can't help much with Windows 10 but there should be plenty of articles on the internet that describe how to do it. One thing you may need to watch out for is any firewall you have on bothe client and server, you may need to let them through your firewall although I think it's fairly simple tehse days.
Ok, thanks... i'll scour the net

mjpreplab
Posts: 4
Joined: Mon Sep 03, 2018 3:25 pm

Re: Access files on server from client

Post by mjpreplab » Tue Oct 02, 2018 5:38 pm

oh man! I still haven't found an SMB client software for file sharing...

fenice
Posts: 183
Joined: Sun Jul 19, 2015 4:23 pm

Re: Access files on server from client

Post by fenice » Tue Oct 02, 2018 5:42 pm

You should be able to configure explorer to allow acceess to the SMB share on your server then you'd need to configure explorer to access those shares, there is no need of any other client. Take a look at this article (for starters): http://wdc.custhelp.com/app/answers/det ... windows-10
Regards


Bill

khat17
Posts: 2
Joined: Mon Jun 03, 2024 4:29 pm

Re: Access files on server from client

Post by khat17 » Mon Jun 03, 2024 4:32 pm

Hi there. Seeing this thread still open - wanna hijack it.

https://www.vpnusers.com/viewtopic.php?t=67390

That thread seems to have the best amount of info so far, but I guess my situation doesn't match perfectly. I'll go on later and edit this post or add another to provide more details on my own situation. Hopefully can add screenshots and other stuff to make things as clear as possible and get some solutions.

*EDIT*
While I have some time, let me post the details. Photos will come after - when I get in front of my desktop and have more resources.

I'm going to assume that most persons have a similar setup that'll be asking for this assistnace.
  • Windows running SoftEther - server or home/pro.
  • Virtual or physical machine.
  • Files/Resources are on the host/server system running SoftEther that should be accessed by clients.
  • Clients can ping server.
  • Clients cannot access shared resource.
In my specific scenario it's:
  • VPS running SoftEther.
  • Can't use "Local Bridge" as VPS provider won't give my devices DHCP.
  • Using SecureNAT.
  • Clients can ping VPS address when connected.
  • Clients cannot access shared directory.
What's done so far:
  • Default Install.
  • SeucreNAT.Clients can connect.
  • Clients can ping server.
  • Shared directory has permissions set.
Default page.
https://imgur.com/jrPqy6q

SecureNAT
https://imgur.com/jsu0YRB

Network Path
https://imgur.com/xWZeBe7

Network Permissions
https://imgur.com/APqvIuL

Ping Test
https://imgur.com/FdDLKyp

Any assistance/suggestion is greatly appreciated. Thanks in advance.

solo
Posts: 1321
Joined: Sun Feb 14, 2021 10:31 am

Re: Access files on server from client

Post by solo » Tue Jun 04, 2024 2:16 am

khat17 wrote:
Mon Jun 03, 2024 4:32 pm
In my specific scenario it's:
  • VPS running SoftEther.
  • Can't use "Local Bridge" as VPS provider won't give my devices DHCP.
  • Using SecureNAT.
  • Clients can ping VPS address when connected.
  • Clients cannot access shared directory.
Solution https://www.vpnusers.com/viewtopic.php? ... 645#p96381
If still problematic, post as a new topic in https://www.vpnusers.com/viewforum.php?f=7

khat17
Posts: 2
Joined: Mon Jun 03, 2024 4:29 pm

Re: Access files on server from client

Post by khat17 » Tue Jun 04, 2024 2:47 am

Many thanks @solo - that resolved my issue. So to give the details here:
  • Verify your VPS provider allows multiple MAC - this may be an issue with some.
  • Setup SoftEther.
  • Setup SecureNAT (do not use bridged and Secure NAT together).
  • Complete setting up users/etc.
  • Install/setup/create a Microsoft Loopback Adapter.
  • Set a static IP on the loopback.
  • Update the "static routing table to push".
I'll quote the details from the link.
Yes @solo, the solution was under my nose. Installed Microsoft loopback adapter (in my case was Microsoft KM-TEST Loopback Adapter) and assigned a private ip (example 192.168.100.1). VirtulaNAT enabled and pushing 192.168.100.1/255.255.255.255/192.168.30.1 as static routing table to clients.
It works. Thanks for your hint.
Kudos @solo.

Now I'm gonna play with setting up multiple hubs and see if it'll work for each.

On another note - it seems this is a frequent thing that lots of people ask. Could the solution/s be made into a sticky? And do you mind if I link to this/other threads from elsewhere?

Post Reply