# Fail2ban and Pritunl

**URL:** https://forum.pritunl.com/t/fail2ban-and-pritunl/3612
**Category:** Pritunl VPN
**Created:** [November 8, 2025, 3:16am UTC](https://forum.pritunl.com/t/fail2ban-and-pritunl/3612 "2025-11-08T03:16:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sec\_op](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/s/e274bd/32.png) [@sec\_op](https://forum.pritunl.com/u/sec_op)
#### Post date: [November 8, 2025, 3:16am UTC](https://forum.pritunl.com/t/fail2ban-and-pritunl/3612/1 "2025-11-08T03:16:50Z")

</div>

Hi, I am new to Pritunl and I have to say it has been one of the most straight forward experiences I have had.

I have two questions and I would appreciate any feedback.

1- I would like to protect the Pritunl login page using file2ban. Could you please mention which rule should I activate in the jail config file of fail2ban?

2- I have an external firewall. I have opened the ports which I defined for OVPN and WG. Is there anything else that I should pay attention?

Thank you in advance.

---

<div class="post-metadata">

### Author: ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)
#### Post date: [November 8, 2025, 11:34pm UTC](https://forum.pritunl.com/t/fail2ban-and-pritunl/3612/2 "2025-11-08T23:34:00Z")

</div>

There isn’t any support to integrate fail2ban, the login already has rate limiting. The [**security documentation**](https://docs.pritunl.com/kb/vpn/security/securing-pritunl) has more information on securing the server. Using a RHEL distribution with SELinux and enabling the systemd web server mode will help secure the web server.
