File sharing
Access SMB Shared Folders Through p2pRemote
After the tunnel connects, Windows file shares are reachable through the target virtual IP. Share permissions, credentials, and firewall policy remain controlled by the target Windows device.
Create the share
- Open the folder Properties → Sharing → Advanced Sharing.
- Share the folder with a recognizable name.
- Remove unnecessary Everyone access and add named users.
- Check NTFS permissions on the Security tab; the stricter effective permission wins.
- Enable Windows File and Printer Sharing firewall rules.
References: Microsoft: File sharing over a network
Open through the virtual IP
- Create the tunnel and copy the peer virtual IP.
- Open Run or File Explorer.
- Enter \\<virtual-IP>\<share-name>.
- Sign in with an account on the target.
- Test read access before write and delete.
\\<peer-virtual-ip>\<share-name>
\\100.99.71.1\projectsMap a network drive
- Right-click This PC and choose Map network drive.
- Choose a free drive letter and enter the UNC path.
- Enable reconnect at sign-in only for a trusted, regularly available target.
- Choose different credentials when needed.
Troubleshoot
- Test TCP 445 with Test-NetConnection.
- Network path errors usually indicate address, share name, port, or firewall issues.
- Access denied usually indicates credentials or share/NTFS permissions.
- Remove stale entries from Credential Manager.
- Do not enable SMB 1.0 for legacy compatibility; use SMB 2/3.
Share safely
- Share a dedicated folder, not a system-drive root.
- Use read-only access where possible.
- Disable guest access and use named accounts.
- Unmap and disconnect after use.