• 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
    #10
    2024-06-19, 06:59 PM
    So Nginx is setting the requestor IP in the header, Jellyfin is reading the header, Fail2Ban is reading the header. But iptables is not reading the header.

    I think that is where the blog I linked differs. Instead of blocking with iptables, they are configuring Nginx to silently disconnect the session from the "real IP".

    From other posts I've read, iptables cannot read the header for https traffic due to the header being part of the encrypted content. If you want iptables blocking these requests instead of Nginx silently disconnecting, you'd have to setup fail2ban on the Nginx container and send logs to the Nginx container (with rsyslog) and setup the rules on the Nginx container.
    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