mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #1129] Fail2Ban - Docker installation #766
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#766
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dev-ehsan-babaei on GitHub (Oct 14, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1129
Hi,
Is there any way to install fail2ban via docker installation method?
Or any way to exec x-ui command in docker at all?
@kksudo commented on GitHub (Oct 25, 2023):
I guess fail2ban already in the Docker, but with 0 enable jails. Also I can't find the way to configure it without rebuild the Docker image.
Here is installation
Still wait here to answer about this topic.
@dev-ehsan-babaei commented on GitHub (Oct 25, 2023):
Found the solution...
we should add below field to xray config:
"log": {
"loglevel": "warning",
"access": "./access.log",
"error": "./error.log"
},
@kksudo commented on GitHub (Oct 25, 2023):
BTW, how to configure fail2ban jails? What is default job for fail2ban?
Block unsuccessful auth to the proxy\vpn, but there is no enable jails ....
fail2ban-client status
@dev-ehsan-babaei commented on GitHub (Oct 26, 2023):
submitted new issue:
https://github.com/MHSanaei/3x-ui/issues/1168