Play SMB, NAS, UPnP and DLNA Media in VLC

Connect VLC to an SMB share, NAS or UPnP media server, then diagnose discovery, credentials, permissions, names and buffering without exposing storage.

Quick answer

Use SMB when VLC should browse a named file share with account permissions. Use UPnP or DLNA when a media server publishes a browsable catalog. Both normally require the player and server to share a trusted local network.

Understand the task

Input

A trusted local network, a server offering SMB or UPnP, and authorized credentials if required.

VLC action

VLC either reads files from a share or browses a media catalog advertised by the server.

Expected result

Media opens with permissions intact or the fault is narrowed to discovery, login, path or throughput.

Tip: Use a read-only media account so a lost player credential cannot modify the library.

Connect to the right kind of media server

  1. Identify whether the server exposes an SMB file share or a UPnP/DLNA catalog; a NAS may offer both.

  2. Connect VLC and the server to the same trusted LAN and leave guest-network isolation or VPN routing out of the first test.

  3. For SMB, enter the server name or private address and share name, then use a least-privilege account allowed to read that folder.

  4. For UPnP or DLNA, open Local Network or Universal Plug'n'Play and wait for the server to publish its catalog.

  5. If discovery fails, test the server by private IP or hostname and confirm its sharing service and firewall are enabled only on the LAN.

  6. Play a small file before testing high-bitrate video, and store a password only on a device you trust and control.

Choose the correct local-network protocol

Server offersUse in VLCAuthentication model
Named folders and filesSMBServer account and share permissions
Published media catalogUPnP or DLNAOften LAN discovery and server policy
Direct stream URLOpen Network StreamDefined by the stream service

Limits and recovery

  • Never port-forward SMB from a home NAS to the public internet.
  • Remembered passwords are convenient but increase risk on shared or portable devices.

Sources and corrections

Official VLC for Android local-network guide >Official VLC desktop documentation >

Menus can differ by VLC version and operating system. If a verified current build behaves differently, report the exact version and platform.