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

    • This is what I want. Hey Gemini, how do I remove you from all my google products permanently?
    • I would never install install this build before rtm process. only 3 months to go. never install on your daily devices. just wait 3 months.
    • Motrix Next 3.9.6 by Razvan Serea Motrix Next is a modern, open-source cross-platform download manager built as the official next-generation successor to the original Motrix project. It has been completely rewritten using Tauri 2, Vue 3, TypeScript, and Rust, while still relying on the powerful Aria2 download engine for high-speed multi-protocol transfers. The app supports HTTP, HTTPS, FTP, BitTorrent, ED2K and magnet links, offering advanced features like multi-connection acceleration, task scheduling, bandwidth control, and batch download management. With a significantly reduced install size (around 20MB), it focuses on being lightweight, fast, and resource-efficient compared to traditional Electron-based download tools. Designed for Windows, macOS, and Linux, Motrix Next delivers a clean, modern UI inspired by Material Design 3 principles, with smooth animations and a minimal workflow. It improves usability through better download organization, system tray integration, and enhanced torrent handling including selective file downloads and tracker management. Motrix Next features: Multi-protocol downloads — HTTP, FTP, BitTorrent, Magnet, .torrent, ED2K, and Metalink tasks BitTorrent — Selective file download, DHT, peer exchange, encryption controls, metadata caching, GeoIP peer flags, and tracker probing Browser extension integration — Embedded Extension API with independent authentication, download confirmation, smart auto-submit, filename hints, referer/cookie forwarding, and real-time controls (Chrome Web Store · Edge Add-ons) Safe filename handling — Content-Disposition, RFC 2047, non-UTF-8, percent-encoded, and extensionless URL resolution with path traversal sanitization Download organization — Favorite and recent folders, optional file-type categorization, stale-record cleanup, and completed history backed by SQLite Concurrent downloads — Independent controls for active tasks, HTTP connections per server, segments per file, and BT peer limits Speed control — Global and per-task upload/download limits with day-of-week and time-of-day scheduling System integration — Tray operation, optional tray speed display, macOS Dock badge/progress, protocol handlers for magnet://, thunder://, and motrixnext:// Lightweight mode — Destroys the WebView on minimize-to-tray while Rust keeps the engine, task monitor, notifications, history, and extension routing alive Notifications and power options — Native task start/complete/failure notifications, keep-awake during downloads, and optional shutdown after completion Network controls — Scoped proxy support for downloads, app updates, and tracker updates, plus system proxy detection Auto-update channels — Stable, Beta, and Latest Across Channels policies with separate download and install phases Diagnostics — Structured logs, exportable diagnostic ZIPs, database integrity checks, automatic DB rebuild, and Linux GPU rendering fallback Personalization — Light/dark/system theme, 10 color schemes, 26 languages, and first-launch system language detection Motrix Next 3.9.6 changelog: New Features Clipboard management — App-owned copy actions no longer trigger the Add Task auto-detect popup. aria2 input compatibility — Multi-line aria2-style task input is supported for URLs with per-task options such as out=. BitTorrent IPv6 DHT — Added IPv6 DHT support and related configuration. File category URL patterns — File category rules can match URL patterns with validation and localized hints. Task status tags — Added clearer waiting and sharing states for task cards. Download event bridge — Added an aria2 WebSocket event bridge for faster download notifications. Improvements Improved task list transitions and preserved task state during tab switches. Kept RPC origin access enabled for local integrations. Restored AppImage stripping in release builds after beta validation. Added localized preference guidance across supported languages. Download: Motrix Next 64-bit | ARM64 | macOS ~20.0 MB (Open Source) Links: Website | macOS / Linux | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Segra 1.6.2 by Razvan Serea Segra is a free, open-source OBS-powered game recorder offering fast gameplay capture, instant clips, AI highlights, deep game integration, and seamless uploads—perfect for gamers, streamers, and content creators. Lightweight, fast, zero bloat. Segra key features: Automatic Game Recording: Begin capturing gameplay the moment your game launches, with zero manual setup. Instant Clipping: Save important moments instantly using a customizable hotkey—perfect for highlights, montages, or quick shares. Segra AI Highlights: Let Segra automatically detect kills, assists, deaths, and key events to generate polished highlight reels without manual editing. Gameplay Uploads: Upload recordings and clips directly to Segra.tv for fast sharing and cloud access. Deep Game Integration: Enjoy advanced game-data tracking across hundreds of supported titles, enabling smart highlight generation and stat-informed clipping. High-Performance Capture: Record up to 4K at 144 FPS using OBS-powered technology with minimal performance impact, supporting NVENC, AMD VCE, and custom quality controls. Segra Editor: Edit recordings easily with timeline controls, segment management, and event-based navigation to build the perfect clip. Customization Options: Adjust hotkeys, output formats, storage paths, codecs, capture quality, and performance settings for a tailored recording experience. Segra 1.6.2 changelog: UI: Improved the transition from the loading skeleton to the real content card. Security: Added Segra.dll code signing and automatic VirusTotal upload. Settings: Fixed the settings header to highlight Account when scrolled to the top. Recording: Updated OBSKit.NET to 1.4.1. Download: Segra 1.6.2 | 74.5 MB (Open Source) View: Segra Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hey Google, these are the Gemini features I want in 2026 by Aditya Tiwari Google Gemini has been around for over three years. The AI chatbot started its journey back in 2023 (as Bard) when ChatGPT was already a talk of the town. However, it quickly attracted criticism after misrepresenting facts about the James Webb Space Telescope. The search giant spent a year fine-tuning Bard before rebranding the chatbot and its underlying generative AI model to Gemini, drawing inspiration from NASA's first human spaceflight program. Note that Bard was initially powered by LaMDA and PaLM 2; Google has since added several new features and integrations to Gemini. That said, there is scope for improvement and a gap for new features. I have been using Gemini for a while now and have realized that the chatbot lacks several features, making it harder for me to research across topics. These are mostly function-over-form updates that can improve the overall experience. Delete individual messages from a conversation Image via DepositPhotos.com One good thing about Gemini is that it can maintain context throughout the conversation. But things might get chaotic when you want to ask a related question, but don't want it to be part of your conversation in the long run. You can't ask that related question in a fresh chat because Gemini will lose the active conversation context of what you're trying to research. If Google allowed you to delete individual question/answer pairs, you could simply ask about a sub-topic and remove it from the conversation to create a smooth flow of important stuff. Offline mode Image via DepositPhotos.com A big pain of using Gemini daily is that everything loads from the cloud. It takes time for your chats to appear, and you can't view your conversation history while offline. To get a better idea, you can open the Gemini app and see how it looks without an internet connection. While Gemini models run in the cloud, it wouldn't hurt if Google could store chats (at least the text part) on the device so we can refer to them when offline. Google can also offer a lightweight version of its AI model to help with basic drafting, summarization, and other tasks. It has the Gemini Nano model, which can perform on-device processing on Google Pixel, Samsung, and some other Android brands, but it's a system feature and not related to the cloud-based Gemini app. Make temporary chats permanent I can't thank Google enough for taking the time and effort to add incognito mode or temporary chat mode to the Gemini app. It lets you have conversations without worrying that the topics will end up in your chat history or used for model training (at least on paper). Google claims that it doesn't use your temporary chats to "personalize your Gemini experience or train Google’s AI models." However, the data is stored "up to 72 hours to respond to you and to process any feedback you choose to provide." That said, I often start researching something in a temporary chat, only to realize the chatbot's answer is good enough to refer to later. Sadly, Gemini doesn't have an option to make such temporary chats permanent. In other words, I won't be able to follow up on it if I close the temporary chat. I'm left with alternatives like copying the answers into notes or another app. My digital life will get a lot better if Gemini gets a button to make temporary chats permanent. Collapse answers for a cleaner view You're heavily invested in your research game and suddenly feel the need to go up in the chat to recall something. This is when the conversation thread starts to feel like an overwhelming, unending wall of questions and answers. What if Google added a way to collapse Q&A pairs in the Gemini chat thread? It would look quite clean and easy to navigate. You'll quickly get an overview of everything you have discussed with the chatbot. Add buttons to jump between messages Suggested mockup of the feature. This reminds me of a small but useful Gemini feature that Google could add to its chatbot: the ability to hop between prompts in a conversation. Just add simple up- and down-arrow buttons, similar to YouTube Shorts, so people can quickly scroll through the messages. A table of contents or Chat Overview It's hard to get a bird's-eye view of everything you have discussed with the chatbot during a lengthy conversation. This is where a table of contents, or Chat Overview, displayed at the top of the screen, possibly in a drop-down button, might come in handy. You'll be able to get an overview of the chat and jump between messages, serving as an alternative to the up/down arrow buttons. Temporary mode for Gemini Live Image: Google You can use Gemini Live to have real-time conversations with the chatbot, which feels like you're talking to someone in the same room. However, a downside is that Gemini Live doesn't work in Temporary Chat mode, so all your conversations end up in the chat history. Google should consider expanding the temporary chat mode to include Gemini Live. Default to a specific chat One thing that feels somewhat annoying to me is that Gemini always opens in a new chat, whether on web or mobile. Sometimes, you want to return to your last chat. Google can take cues from web browsers, which let you choose whether you want to go to a new tab or a specific web page(s). Gemini can also have options to default to a specific chat when reopened. That said, generative AI chatbots have endless possibilities given the vagueness of their work. You can mold them the way you want by attaching different connectors, adding custom instructions, and including source files. It remains to be seen what Google has in store for future updates and whether anything from this wishlist gets the green light. The search giant released a stream of new Gemini updates in recent months, including Gemini 3.5 Flash and Gemini Omni Spark, adding that it now has 13 products with more than a billion users each. What do you want to see in the Gemini app? Tell us in the comments.
  • Recent Achievements

    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      181
    3. 3
      PsYcHoKiLLa
      86
    4. 4
      Michael Scrip
      78
    5. 5
      Steven P.
      75
  • Tell a friend

    Love Neowin? Tell a friend!