Skip to content

Instantly share code, notes, and snippets.

@andrey-str
Last active June 4, 2024 08:05
Show Gist options
  • Select an option

  • Save andrey-str/990b27d06e2f0a43ae71 to your computer and use it in GitHub Desktop.

Select an option

Save andrey-str/990b27d06e2f0a43ae71 to your computer and use it in GitHub Desktop.

Revisions

  1. andrey-str revised this gist Mar 24, 2016. No changes.
  2. 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
  3. 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
    ```