This is NOT necessary if you use Vlc media player Version 2.1 or above! You will only have to define a password.
If you are using Vlc media player below Version 2.1 you need allow your WiFI subnet:
This is the only painful part of TVlc setup. Actually all you have to do is uncomment 1 line in a configuration file. Not too hard, right? The "hard" part may be finding that file. It is called .hosts (consider the dot!) and lies within your Vlc installation directory in the subpath lua/http/.hosts . On my system it currently looks like this:
$ cat /usr/share/vlc/lua/http/.hosts # # Access-list for VLC HTTP interface # $Id$ # # localhost ::1 127.0.0.1 # link-local addresses #fe80::/64 # private addresses #fc00::/7 #fec0::/10 #10.0.0.0/8 #172.16.0.0/12 192.168.0.0/16 #169.254.0.0/16 # The world (uncommenting these 2 lines is not quite safe) #::/0 #0.0.0.0/0
As you can see, I have uncommented (removed the # sign) in front of the 192.168.0.0/16 subnet which is my WiFi thus allowing Vlc Web interface access to all addresses within the specified range. To test this I can now access my Vlc Web Interface on my computer by http://192.168.0.1:8000