Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4907

Networking and servers • Re: Media server - setup

$
0
0
I dont care about safety if someone can spy on what i am watching - only safety i need is that nobody takes over my Pi. Please help!

Then, frankly, you're a fool.

Here's one insecure solution:
  1. Forward port 8000 on your router to your Pi.
  2. Login to your Pi.
  3. Code:

    cd /some/directory
    Where /some/directory is the directory containing your media files.
  4. Code:

    python -m http.server
    (Note: logging out or closing the session/terminal will cause this to exit)
  5. From you client device on the internet connect to http://your-routers-external-ip-address:8000
If your internet provider uses CGNAT this will not work.

If your internet provider does not provide a static IP address to your router you'll need to setup a dynamic DNS service so clients can find it.

Anyone on the internet who knows the IP address and port can access your server and see your traffic. Expect to be attached and to be sued if sharing copyrighted data that you do not have a license to distribute.

Statistics: Posted by thagrol — Thu Jan 23, 2025 10:51 pm



Viewing all articles
Browse latest Browse all 4907

Trending Articles