Skip to content

Commit

Permalink
Merge pull request #1241 from ZeWaka/patch-1
Browse files Browse the repository at this point in the history
Add proxy setup to fail2ban guide
  • Loading branch information
Shadowghost authored Jan 14, 2025
2 parents 040a4be + 634885b commit 6862f85
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/general/networking/fail2ban.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,23 @@ Replace `<upstream-server-ip>` with the actual IP address of your upstream serve

After making chaneges, save and close the file.

### Step three: Restart Fail2Ban and Test the Setup
### Step three: Add proxy IPs to Jellyfin

1. **Get Proxy IPs**

Since you're using a proxy server, we need Jellyfin to output the correct IPs in logs for fail2ban to read.

Depending on your hosting setup, these IP ranges could be from internal Docker IPs, haproxy, or some other service.

Jellyfin accepts IPs with subnet masks such as `172.18.0.1/24`. You'll need a comma-separated list of these.

2. **Add Proxies to Jellyfin**

Open your Jellyfin server's dashboard, go to `Advanced` -> `Networking`, and then scroll down to `Known proxies`.

Enter your comma-seperated list of proxy IP ranges. You'll need to reboot the Jellyfin server as indicated.

### Step four: Restart Fail2Ban and Test the Setup

1. **Restart Fail2Ban**:

Expand Down

0 comments on commit 6862f85

Please sign in to comment.