Recommended Posts

Hi all,

I've create a new incoming connection which allows a friend to connect to my pc by using the new VPN connection from his side. He can log in just fine and it shows he's connected on my side. Next step: How on earth do I get filesharing working over this connection?

Many thanks,

Alex

Link to comment
https://www.neowin.net/forum/topic/1023508-filesharing-over-windows-vpn/
Share on other sites

Hi all,

I've create a new incoming connection which allows a friend to connect to my pc by using the new VPN connection from his side. He can log in just fine and it shows he's connected on my side. Next step: How on earth do I get filesharing working over this connection?

Many thanks,

Alex

What O/S either side?

You would do file sharing the same way you would if he was local on your network. A VPN is just a connection into your network. Not you might have some issues with name resolution, and are you wanting to allow him to access shares on other boxes on your network?

And you could have issues with same network on both ends, what is his local network compared to yours, ie if your both say on a 192.168.1.0/24 then you could have problems.

EDIT: NO you do not need to do anything with homegroups, and I would not suggest that at all!

We are both indeed setup on 192.168.0.1 etc. He seems to have been assigned the IP 192.168.0.8 on my network but he still can't see any of my shared items appear in his network places. Should he theoretically just be able to type in \\computer-name and access it? I also ensured we were both on the same workgroup incase that was an issue.

your going to want to change one of your networks for starters.. Because he has an interface on the 192.168.0.0/24 network - so why should traffic go down the tunnel to talk to something on 192.168.0.0/24??

And yes in theory you can do \\computername -- but how is he going to resolve that, do you have wins running? It can broadcast for it, but normally broadcasts do not go down a vpn tunnel. So no you would not be able to resolve it.

What I would suggest is have him change his network to say 192.168.1.0/24 vs the 192.168.0.0/24 -- and then have him ping your boxes IP once he gets logged into your vpn. Then he could try \\ipaddress of your machine to access shares.

So for example I am connected to my home network currently via openvpn

Windows IP Configuration

Ethernet adapter Local:

Connection-specific DNS Suffix . : snipped

IP Address. . . . . . . . . . . . : 10.56.41.89

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 10.56.41.1

Ethernet adapter Wireless:

Media State . . . . . . . . . . . : Media disconnected

Ethernet adapter ovpn:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 10.0.200.6

Subnet Mask . . . . . . . . . . . : 255.255.255.252

Default Gateway . . . . . . . . . :

See that 10.0.200.6 -- that is my IP for the vpn tunnel

then look at my route table

Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0       10.56.41.1     10.56.41.89       10
       10.0.200.1  255.255.255.255       10.0.200.5      10.0.200.6       1
       10.0.200.4  255.255.255.252       10.0.200.6      10.0.200.6       30
       10.0.200.6  255.255.255.255        127.0.0.1       127.0.0.1       30
       10.56.41.0    255.255.255.0      10.56.41.89     10.56.41.89       10
      10.56.41.89  255.255.255.255        127.0.0.1       127.0.0.1       10
   10.255.255.255  255.255.255.255       10.0.200.6      10.0.200.6       30
   10.255.255.255  255.255.255.255      10.56.41.89     10.56.41.89       10
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.1.0    255.255.255.0       10.0.200.5      10.0.200.6       1
        224.0.0.0        240.0.0.0       10.0.200.6      10.0.200.6       30
        224.0.0.0        240.0.0.0      10.56.41.89     10.56.41.89       10
  255.255.255.255  255.255.255.255       10.0.200.6               8       1
  255.255.255.255  255.255.255.255       10.0.200.6               6       1
  255.255.255.255  255.255.255.255       10.0.200.6               7       1
  255.255.255.255  255.255.255.255       10.0.200.6               4       1
  255.255.255.255  255.255.255.255       10.0.200.6      10.0.200.6       1
  255.255.255.255  255.255.255.255       10.0.200.6               2       1
  255.255.255.255  255.255.255.255      10.56.41.89     10.56.41.89       1
Default Gateway:        10.56.41.1

Notice the route to the 192.168.1.0/24 network, says to use the 10.0.200 connection.

now see I can ping a box on my home network, but notice name resolution for its name quad-w7 fails for net view, but works with IP

D:\>ping 192.168.1.100

Pinging 192.168.1.100 with 32 bytes of data:

Reply from 192.168.1.100: bytes=32 time=141ms TTL=63
Reply from 192.168.1.100: bytes=32 time=134ms TTL=63
Reply from 192.168.1.100: bytes=32 time=138ms TTL=63
Reply from 192.168.1.100: bytes=32 time=136ms TTL=63

Ping statistics for 192.168.1.100:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 134ms, Maximum = 141ms, Average = 137ms

D:\>tracert 192.168.1.100

Tracing route to quad-w7.local.lan [192.168.1.100]
over a maximum of 30 hops:

  1   162 ms   160 ms   189 ms  10.0.200.1
  2   185 ms   177 ms   201 ms  quad-w7.local.lan [192.168.1.100]

Trace complete.

D:\>net view \\quad-w7
System error 53 has occurred.

The network path was not found.

D:\>net view \\192.168.1.100
Shared resources at \\192.168.1.100

Share name  Type   Used as  Comment
-------------------------------------------------------------------------------
HPDeskjet   Print           HP Deskjet 6500 Series
pchshare    Disk
The command completed successfully.

Or I can use dns, because I have that setup

D:\>net view \\quad-w7.local.lan
Shared resources at \\quad-w7.local.lan

Share name  Type   Used as  Comment
-------------------------------------------------------------------------------
HPDeskjet   Print           HP Deskjet 6500 Series
pchshare    Disk
The command completed successfully.

See where dns is setup to talk to my home dns

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : TAP-Win32 Adapter V9

Physical Address. . . . . . . . . : 00-FF-79-1A-85-63

Dhcp Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 10.0.200.6

Subnet Mask . . . . . . . . . . . : 255.255.255.252

Default Gateway . . . . . . . . . :

DHCP Server . . . . . . . . . . . : 10.0.200.5

DNS Servers . . . . . . . . . . . : 192.168.1.253

Lease Obtained. . . . . . . . . . : Tuesday, September 06, 2011 10:10:15 AM

Lease Expires . . . . . . . . . . : Wednesday, September 05, 2012 10:10:15 AM

File sharing works just fine over a vpn connection, once you understand how it works and some of the limitations, etc.

Thanks budman. Okay I can now access his files after changing the addresses but he can't access mine. He also can't seem to access the internet whilst connected to my VPN!

I can access his pc by typing \\192.168.0.8 but if he types my network IP (192.168.1.2) he cannot.

on your vpn settings did you allow for access to other machines on your network, or just the vpn machine. Also your prob not going to want to connect through your network for internet from his network, so you would want to turn off default gateway on the vpn setting.

I believe its here to allow him full access when you create the incoming

post-14624-0-13947600-1315341529.jpg

Then on his vpn connection, he is most likely going to want to uncheck using your connection as his default gateway (internet)

post-14624-0-68228300-1315341568.jpg

As to file sharing for him and pinging your network.. Your firewalls would have to be setup to allow access - so that could be a problem?

Can he ping you? What is the output of his route print when he is connected to you.

Thanks for all your help budman! I'll report back tomorrow when we've tried this as my partner in crime has had to slip off.

Actually, one more query whilst I get the opportunity. I assume that once we've got this set up we'll be able to access each others computers, but the his files a broadly shared through his internal network. If I wanted to access more of his network computers we'd need to set up a router to router VPN?

yeah your computer should be able to talk to his, and his should be able to talk to computers on your network. But sure if you want full network to network access it would be better to do via routers.

Hello,

I am the other half in this attempt at trying to bridge our networks from both our houses... Given Up using a Client based software becuase lets be honest we know windows can do this...

This is making me feel like an idiot...

I be honest i dont understand fully your route table above..

We have:

- Made incomming and outgoing connections on the respective computers.

- The computer with the incomming connection has: The Tickbox enabled for Sharing Network

- The Outgoing computer: The tickboxes for the Default Gateway has been removed.

At this time we have solved the rerouted internet issue..

We have Changed our Network IP's so that they are not the same.

He can access my PC and other computers and NAS on my Network.

1/ I cant see or access him, is a VPN only one way?

2/ post-412302-0-01464200-1315567774.jpg

The attachment above is my system try - This all seems to be working at his end but i get a big ugly Red X. - I am connected to the internet and can access my own network

What we have worked out that on my local network i am (192.168.0.2)

and when the VPN is connected i am also 192.168.0.24

The outgoing pc is 192.168.0.23 - but i cant access that...(on the outgoing pc it shows itself as 192.168.0.23

post-412302-0-37312800-1315568388.jpg

Any ideas, going out of my mind...

From that you're both still on the 192.160.0.1/24 which won't work, as you're seeing. If he is 192.168.0.1/24 change your ip range to 192.168.1.1/24 - which budman suggested...

What I would suggest is have him change his network to say 192.168.1.0/24 vs the 192.168.0.0/24 -- and then have him ping your boxes IP once he gets logged into your vpn. Then he could try \\ipaddress of your machine to access shares.

From that you're both still on the 192.160.0.1/24 which won't work, as you're seeing. If he is 192.168.0.1/24 change your ip range to 192.168.1.1/24 - which budman suggested...

[/color]

My network IP range from my router is set to dish out 192.168.1.X whereas his is set to dish out 192.168.0.X so we've done this unless I am misunderstanding.

It's the Server side of the VPN that is giving my the IP address 192.168.0.23 (according to ipconfig).

post-33944-0-68571100-1315570733.png

Could this even be a firewall issue?

that shows your ip as being 192.168.0.x not .1.x

Unless you're getting confused with the command prompt names as the we're both called Alex! (Users\Alex in cmd prompt title)

It's showing me IP as 0.x on his network and 1.x on my local network. Is that not the IP that his network has just assigned me?

Okay we've somehow managed to make this work by putting a HOST and CLIENT connection on both machines. I didn't think this would be necessary. It appears that we couldn't achieve a single two-way connection (which is what we would like) but we can achieve two one-way connections!

EDIT: OOPS I LIED! Apparently we can only have one connection running at a time rather than two simultaneously as initially thought. i.e. he can access my side but I cannot access his, or vice versa on the respective machines. This solution is not ideal as we were expecting two-way access.

For you to share access both ways your going to need to setup a site to site vpn on your routers. Your box server (host) has no router to the 192.168.1.0/24 network (client side) You could try adding it by hand, but I don't think his box will act as actual gateway.

The incoming built in vpn is more of a road warrior setup, I do not believe it was ever meant to go both ways. Or that for the client connecting to it.

What routers do you have? And you can setup a site to site. Or I seem someone is running hamachi -- do believe you could use that for your site to site setup.

Site to site with machines on each network is a pain because no other boxes on the other networks will have routes for those other networks, which is why its better to do on the router, because all the clients on each network use that as their gateway anyway and talk to the router whenever they want to go to any network other than local, be it neowin.net or some other private network -- if the routers have connections between them then they will both route the traffic to the other networks.

Ah right I see, so in essentially we've been successful based on the limitations of the inbuilt windows vpn. We both have a 'BT Homehub 3' router which works fine but is fairly limited in functionality. Have been considering getting a dd-wrt buffalo router but will have to do more research into that.

We also did try hamachi but that would only allow me to access each machine hamachi was installed on and would not just give me full access to his network, unless we could somehow bridge them together. Reason I'd need full access would be due to filestorage his end on a Netgear ReadyNas Duo and there is not hamachi addon for that device.

hamachi can be used as full blown site to site if you want.

http://community.spiceworks.com/how_to/show/2299

All you need is devices that can get to each others network, and then the correct routing between them. Must easier if done at the gateway, but can be done on boxes inside - just need to let your other boxes know how to get to that network, can be done on your router if yours supports adding routes. If not you would have to put the routes on each box you wanted to be able to get to the other network, be it as a server or a client.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • You still can, its just under the Transform flyout for WordArt now
    • Likely nothing will be done in corporate America, there have been countless Tesla self-driving incidents. Then again, there have also been countless human operated incidents. It's literally daily news here in Canada, to the extent that it's now odd if we get a day where a collision doesn't get announced on the radio throughout the day...
    • SKG Hand Massager with Heat OS500 hands on by Steven Parker I was offered the chance to test out the SKG Hand Massager with Heat OS500, and full disclosure, they let me keep it regardless of my findings. Anyway, I jumped at the chance due to my long hours sitting at my desk, mousing around. Apologies for the knife cut across the top of the box; that was my doing, being a bit too heavy-handed with opening up the outer packaging. First up, what's in the box: SKG Hand Massager with Heat OS500 1x Type-C charging cable User Manual 1-Year Warranty (card) In short, everything you need to get started. According to the official Amazon listing, here are the key features: Full-Hand Air Compression: OS500 wraps your fingers, palm, and wrist with multi-chamber air compression for a complete hand relaxation experience. The extended massage chamber helps cover more of the hand and wrist area than standard palm-only hand massagers Palm Kneading with 6 Modes & 6 Intensities: Built-in palm kneading rollers add a hands-on massage feel, while 6 preset modes and 6 pressure levels let you choose the comfort level that fits your day—from gentle relaxation to a firmer full-hand massage 3 Heat Levels with Cooling Fan: Choose from 104°F, 113°F or 122°F warmth to suit different seasons and comfort preferences. The built-in cooling fan helps reduce stuffiness during heated sessions, keeping your hand feeling fresh and comfortable Easy Visual Display & Smart Timer: The digital image display clearly shows massage area, mode, intensity, heat level, and remaining time at a glance. Select 10, 15, or 20-minute sessions for quick office breaks, evening relaxation, or everyday hand care Rechargeable, Cordless & Comfortable: A 3000mAh battery supports over 90 minutes of full-function use on a full charge, with convenient USB-C charging. The soft inner lining, smooth ABS/PU finish, and premium black-gold design make OS500 ideal for home, office, or gifting With all that out of the way, here are my own findings. I gave it a try on both left and right hands, and as you can maybe see from the above YouTube Short, (sorry for the shaky video), my whole hand fits in, but my wrist barely enters the Hand Massager. I was able to push through a bit more with my fingertips extending out the other end to get a bit of massaging on the start of my wrist. Usage For some reason, there is a strap that is very difficult to fasten to my wrist with one hand. I am not sure what function it has, and it isn't mentioned in the user manual. The only thing I could find was in the product images that claimed "wrist precision". Unlike the Bob and Brad Hand Massager, this device does not massage the wrist anyway, even though a "wrist mode" is mentioned, which must be for smaller hands than I have, as it is mainly intended for the hand and fingers. In addition, for its steeper price, there are no disposable gloves provided in the box, which is a bit of an issue considering the internal cover (which appears to be elasticated nylon) cannot be removed for washing; so you are left with only one choice: always thoroughly wash your hands before using it. I can imagine this thing getting a bit grimy after a period of use, and that is a bit of a shame. With that said, the buttons on the device, from left to right, do the following: Heat button: 3-level heat control at 104°F, 113°F, or 122°F Mode button: Auto mode Circular mode Soothing mode Relax mode Palm and fingers mode Palm and wrist mode Intensity button: from (First-time users) 15Ka, 25Ka, 35Ka, 45Ka, 55Ka, 60Ka (Intensive relief) Knead button: on or off (6 pressure levels) Power button: Long-press to turn on or off Cooling button: turn on or off the cooling fan Also, in the product imagery, it states there are 36 "custom modes," but nowhere is it listed what these modes are. I can only imagine that they mean a combination of all of the above settings in different intensity levels. The device itself seems to rely on a single "kneading" mechanism located at the palm area of the hand, which spins when in use, and the other massage features are mainly utilized through the air sacs, increasing and decreasing at various levels on the hand and fingers. I am not sure it offered too much relief for someone who is typing and operating a mouse for hours at a time; further testing may be required. It does feel nice, though. Finally, you may be wondering how this fits into the scope of a tech website? Well, let me tell you something: sometimes I sit for up to 15 hours working on Neowin, and although I take breaks in between, it takes a toll on my body. I think in the immediate absence of a partner to apply relief, a good massager like this Hand Massager can shed the strains of the day in just a couple of 15-minute bursts. On the official website, this has an MSRP of $99.99, but luckily for our readers, it is selling at $10 off for just $89.99 right now on Amazon. SKG Hand Massager with Heat OS500 for $89.99 (with $10 off coupon), $99.99 MSRP For me, this gets a thumbs hands(?) down. However, it could be improved by making it so that the protective covering could be removed and thrown into the washing machine, or get yourself some disposable gloves to use with it. As an Amazon Associate, we earn from qualifying purchases.
    • Thanks for the info, but I'm still not sure if I need this....
    • We check out the SKG PS700 Neck Massager by Steven Parker I was offered the chance to test out the SKG PS700 Neck Massager, and full disclosure, they let me keep it regardless of my findings. Anyway, I jumped at the chance due to my long hours sitting at my desk; I figured it could offer some neck pain relief. What's in the box: SKG PS700-2 Neck Massager Rechargeable Battery (inside massager) Type-C USB cable User Manual Quick Start guide 1-Year Warranty In short, everything you need to get started. According to the official listing, here are the key features: Biomimetic Kneading & High Torque Motor: Designed with innovative biomimetic kneading heads that perfectly simulate the touch of human hands. Powered by a high-torque motor, this massager delivers powerful and precise deep tissue relief to effectively target stiff neck muscles and release built-up tension Soothing Heat & Integrated Sound Relaxation: Experience the ultimate Relaxationation with our dual-action approach. The soothing heat function gently warms your neck, while the built-in sound Relaxation provides calming audio tracks, helping you achieve a state of mindfulness and mental tranquility during your physical massage Cordless Convenience & Travel-Ready & Father's Day Gifts: Crafted for maximum portability and ease of use. Its lightweight, cordless design allows you to enjoy a premium massage anywhere without the hassle of tangled wires-whether you're taking a quick break at your desk or winding down at home Versatile Relief for Home & Office: An essential wellness companion for office workers, gamers, frequent travelers, or anyone looking to integrate mindfulness into their daily routine. It seamlessly fits into your lifestyle, providing instant neck relief whenever and wherever you need it Safe & Premium Materials: Manufactured with high-quality, skin-friendly materials to ensure a safe and comfortable experience without irritation. SKG backs this device with dedicated customer service, making it a thoughtful tech-health gift for family and friends App & Bluetooth Music Control: Connect via Bluetooth to control your massage settings through the dedicated app and enjoy your favorite music during your massage session for a fully customizable and immersive relaxation experience Red Light Warmth Technology: Features advanced red light warmth technology that penetrates deep into neck muscles to enhance blood circulation and provide soothing comfort while relieving muscle tension and stiffness Design With all that out of the way, here are my own findings. SKG does not say what materials are used to make the neck massager. However, on the product website, it mentions "soft-touch silicone" with what looks like PU leather cushioning, with the rest being mostly made up of plastics. On the inside of the massager, there are two "biomimetic kneading heads" that are motorized for the different styles of massage, which are not actually listed at all in the paper user manual, but the standard included modes are: De-stress mode, Mediation mode, Relax mode, Shiatsu mode. The massager looks quite premium and is actually very comfortable to wear. This massager is small and light enough to go anywhere, as it doesn't get in the way of anything, so I was able to use it in the chair while writing this review. Unlike the back massager, SKG does not warn in the user guide not to use it for more than 30 minutes a day (or two 15-minute sessions). However, there is a long laundry list of important safeguards to consider before and during the use of the device, and it is warned that the neck massager is not waterproof. It also includes a 1,400mAh battery with a rated power of 14W and input of 5V, which is the standard for up to USB 3.0 power (although the Amperage is not mentioned at all). SKG does not say how long it takes to charge, but a quick calculation at 2A (if that is what it is) would mean it would take roughly 1.5 hrs to charge from empty. In any case, the light around the button changes from orange to green on a full charge. In addition, it is not possible to use the device while it is charging. On the right of the neck massager is the On/Off and modes button, which also acts as a joystick. You can operate all the modes directly from the power button, as well as the app, which I'll get into a bit later: Push up: Short press to adjust Heat levels On/Off button: long press Mode Switching: Short press (while in operation) ➕ Push left: increase Music volume ➖ push right: decrease Music volume Push down: Short-press to turn Music on or off The massager defaults to De-stress mode, and it is not stated anywhere if the neck massager has overheat protection. This time around, regarding heat, the only detail I could find is that it has "triple action soothing heat." The temperature stages are not listed anywhere in the paper manual, Amazon listing, or official website. The heat levels can be adjusted through the app or directly on the device using the joystick button. Usage There's also the SKG Health app, which makes using the massager far easier than feeling around for the button on the side of your neck. If the app is stopped, you are required to log in with a verification code over email, which I am not too pleased with, as this means it will only work that way for however long SKG decides to support it through said app. However, I was not able to get the app to connect to the OS500, which I have reported back to my contact. Bluetooth appeared to be working on the neck massager as it became available to pair with my phone, but the SKG app failed to discover it. Before I forget, there's also a switch next to the USB charging port to deactivate and activate the Voice Prompt, which, when enabled, audibly tells the user when switching intensities, modes, or connecting to the app and informs when the massages start and are completed. That said, on to my likes and dislikes, which are listed below. What I didn't like Unable to connect the Neck Massager to the app Use through the mobile app relies on continued support from SKG What I liked Can be used without the app Cordless use Light and comfortable to wear Heat is also quite comfortable Where to buy: According to the official website, this has an MSRP of $249.99, but is currently $50 (on Amazon). To sweeten the deal a bit more, there's also an in-page coupon that knocks a further $20 off the price. SKG PS700-2 Neck Massager for $179.99 on Amazon (was $199.99) Apply the in-page $20 off coupon for the final price of $179.99 Just like the back massager, this gets a confused thumbs up (due to the cost). However, I cannot rate it through app usage as it failed to connect. As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      184
    3. 3
      PsYcHoKiLLa
      85
    4. 4
      Michael Scrip
      78
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!