Skip to content

Instantly share code, notes, and snippets.

@bastos
Forked from nmaggioni/ufw_plex.md
Created April 18, 2022 15:20
Show Gist options
  • Save bastos/00cc25f0e48361b81f74ab7cc8278eef to your computer and use it in GitHub Desktop.
Save bastos/00cc25f0e48361b81f74ab7cc8278eef to your computer and use it in GitHub Desktop.

Revisions

  1. @nmaggioni nmaggioni revised this gist Mar 11, 2017. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions ufw_plex.md
    Original file line number Diff line number Diff line change
    @@ -19,10 +19,9 @@ ports=32400/tcp|3005/tcp|5353/udp|8324/tcp|32410:32414/udp|1900/udp|32469/tcp
    Once you have defined your application file tell ufw to reload the application definitions with:
    ```
    ufw app update plexmediaserver
    ufw app info plexmediaserver
    ```

    Use it with:
    ```
    ufw allow plexmediaserver
    ufw allow plexmediaserver-all
    ```
  2. @nmaggioni nmaggioni revised this gist Mar 11, 2017. 2 changed files with 28 additions and 16 deletions.
    16 changes: 0 additions & 16 deletions ufw plexmediaserver app profile.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +0,0 @@
    ```
    [plexmediaserver]
    title=Plex Media Server
    description=The Plex Media Server is smart software that makes playing Movies, TV Shows and other media on your computer simple
    ports=32400/tcp|1900/udp|32469/udp|5353/udp
    ```
    Once you have defined your application file, put it in /etc/ufw/applications.d, then tell ufw to reload the application definitions with
    ```
    ufw app update plexmediaserver
    ufw app info plexmediaserver
    ```
    Use it with something like:
    ```
    ufw allow from 192.168.1.10 to any app plexmediaserver
    ufw allow plexmediaserver
    ```
    28 changes: 28 additions & 0 deletions ufw_plex.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    `/etc/ufw/applications.d/plexmediaserver`
    ```
    [plexmediaserver]
    title=Plex Media Server (Standard)
    description=The Plex Media Server
    ports=32400/tcp|3005/tcp|5353/udp|8324/tcp|32410:32414/udp
    [plexmediaserver-dlna]
    title=Plex Media Server (DLNA)
    description=The Plex Media Server (additional DLNA capability only)
    ports=1900/udp|32469/tcp
    [plexmediaserver-all]
    title=Plex Media Server (Standard + DLNA)
    description=The Plex Media Server (with additional DLNA capability)
    ports=32400/tcp|3005/tcp|5353/udp|8324/tcp|32410:32414/udp|1900/udp|32469/tcp
    ```

    Once you have defined your application file tell ufw to reload the application definitions with:
    ```
    ufw app update plexmediaserver
    ufw app info plexmediaserver
    ```

    Use it with:
    ```
    ufw allow plexmediaserver
    ```
  3. @andrey-str andrey-str revised this gist Mar 24, 2016. No changes.
  4. @andrey-str andrey-str revised this gist Sep 9, 2015. 1 changed file with 1 addition and 10 deletions.
    11 changes: 1 addition & 10 deletions ufw plexmediaserver app profile.md
    Original file line number Diff line number Diff line change
    @@ -1,24 +1,15 @@

    ```
    [plexmediaserver]
    title=Plex Media Server
    description=The Plex Media Server is smart software that makes playing Movies, TV Shows and other media on your computer simple
    ports=32400/tcp|1900/udp|32469/udp|5353/udp
    ```

    Once you have defined your application file, put it in

    ```/etc/ufw/applications.d```,

    then tell ufw to reload the application definitions with

    Once you have defined your application file, put it in /etc/ufw/applications.d, then tell ufw to reload the application definitions with
    ```
    ufw app update plexmediaserver
    ufw app info plexmediaserver
    ```

    Use it with something like:

    ```
    ufw allow from 192.168.1.10 to any app plexmediaserver
    ufw allow plexmediaserver
  5. @andrey-str andrey-str created this gist Sep 9, 2015.
    25 changes: 25 additions & 0 deletions ufw plexmediaserver app profile.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@

    ```
    [plexmediaserver]
    title=Plex Media Server
    description=The Plex Media Server is smart software that makes playing Movies, TV Shows and other media on your computer simple
    ports=32400/tcp|1900/udp|32469/udp|5353/udp
    ```

    Once you have defined your application file, put it in

    ```/etc/ufw/applications.d```,

    then tell ufw to reload the application definitions with

    ```
    ufw app update plexmediaserver
    ufw app info plexmediaserver
    ```

    Use it with something like:

    ```
    ufw allow from 192.168.1.10 to any app plexmediaserver
    ufw allow plexmediaserver
    ```