Skip to content

Commit

Permalink
Added an additional sed statement to the add screen to handle the ign…
Browse files Browse the repository at this point in the history
…oreip statement being commented out
  • Loading branch information
mackhendricks committed Jan 31, 2024
1 parent 8d4b1cc commit 86f0006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/templates/endpointgroups.html
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ <h4 class="modal-title custom_align" id="Heading">Add Endpoint Group Details</h4
/etc/init.d/postgresql restart
# Run this command if your using fail2ban
sed -i -r "s|(ignoreip = .*)|\1 $DSIPROUTER_IP/32|" /etc/fail2ban/jail.conf
sed -i -r "s|#ignoreip|ignoreip|" /etc/fail2ban/jail.conf
systemctl restart fail2ban</code></pre>
</div>
<div class="form-group">
Expand Down

0 comments on commit 86f0006

Please sign in to comment.