• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Nginx Proxy Manager, Fail2Ban, and Jellyfin

     
    • 0 Vote(s) - 0 Average

    Nginx Proxy Manager, Fail2Ban, and Jellyfin

    Nginx Proxy Manager, Fail2Ban, and Jellyfin Setup
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-19, 04:26 PM
    I believe this stack exchange post explains it.

    https://unix.stackexchange.com/questions...urn-target

    Quote:Packets traverse a chain until they hit ACCEPT, DROP, REJECT, or RETURN. They do not stop on a match unless that match contains a terminating action. In your example, a packet matching the first rule will be marked, but will then be examined (and possibly processed) by the second rule.

    Purely for reference, here are the relevant sections from the man page:

    A firewall rule specifies criteria for a packet and a target. If the packet does not match, the next rule in the chain is the examined; if it does match, then the next rule is specified by the value of the target, which can be the name of a user-defined chain or one of the special values ACCEPT, DROP [, REJECT], QUEUE or RETURN.

    ACCEPT means to let the packet through.
    DROP means to drop the packet on the floor, i.e. to discard it and not send any response
    [REJECT is used to send back an error packet in response to the matched packet: otherwise it is equivalent to DROP so it is a terminating TARGET, ending rule traversal.]
    QUEUE means to pass the packet to userspace.
    RETURN means stop traversing this chain and resume at the next rule in the previous (calling) chain. If the end of a built-in chain is reached or a rule in a built-in chain with target RETURN is matched, the target specified by the chain policy determines the fate of the packet.
    In response to your specific concern, I would say that your guide is misleading. Unless "associated action" is one of the five terminal actions, packets will continue to flow through the chain until they reach an implicit RETURN at the end.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Nginx Proxy Manager, Fail2Ban, and Jellyfin - by crashx - 2024-06-19, 03:30 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-06-19, 03:54 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by crashx - 2024-06-19, 04:01 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-06-19, 04:26 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by crashx - 2024-06-19, 04:41 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-06-19, 04:50 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by crashx - 2024-06-19, 04:57 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-06-19, 05:18 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by crashx - 2024-06-19, 06:47 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-06-19, 06:59 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by crashx - 2024-06-19, 07:52 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-06-19, 08:04 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by crashx - 2024-06-19, 08:10 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-06-19, 08:50 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by crashx - 2024-06-19, 09:24 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by Fetzi - 2024-12-07, 04:45 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-12-07, 10:29 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by Fetzi - 2024-12-08, 10:29 AM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by TheDreadPirate - 2024-12-08, 03:08 PM
    RE: Nginx Proxy Manager, Fail2Ban, and Jellyfin - by Fetzi - 2024-12-08, 03:43 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode