Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@ Explore the tree and most of the modifications you may want to make should be fa

Check out this repository:

`git clone git@github.com:TwilightCoders/iocage-plugin-fail2ban.git`
`git clone https://github.com/TwilightCoders/iocage-plugin-fail2ban.git`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to encourage ssh over https as a standard amongst these projects.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that one needs to have an ssh key setup for Github to access the ssh url.
Only https works for anonymous...

https://stackoverflow.com/a/46993922/869402

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know, that's a really good point! I never considered that, and I appreciate the perspective. I'm going to modify the other iocage plugins I'm creating for the same reason. Thanks!


Install with `iocage` from within the project directory:
- `iocage fetch -P -n fail2ban.json ip4_addr="[interface]|[ip_address]/[cidr]"`
- e.g. `iocage fetch -P -n fail2ban.json ip4_addr="em0|192.168.0.111/24"`
Install with `iocage` from within the project directory.

You can either use NAT (recommended for FreeNAS >= 11.3):

- `iocage fetch -P fail2ban.json vnet=1 nat=1`

Or a specific IP:

- `iocage fetch -P fail2ban.json ip4_addr="[interface]|[ip_address]/[cidr]"`

- e.g. `iocage fetch -P fail2ban.json ip4_addr="em0|192.168.0.111/24"`
Comment on lines +14 to +24
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, I like this better.


## Configuration

Expand Down
4 changes: 2 additions & 2 deletions fail2ban.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Fail2Ban",
"release": "11.2-RELEASE",
"name": "fail2ban",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, good call. 👌🏼

"release": "11.3-RELEASE",
"artifact": ".",
"pkgs": [
"python36",
Expand Down