# Restrict Pritunl Login GUI on Gateway of VPN Servers

**URL:** <https://forum.pritunl.com/t/restrict-pritunl-login-gui-on-gateway-of-vpn-servers/2921>\
**Category:** Pritunl VPN\
**Created:** [December 27, 2024, 11:02am UTC](https://forum.pritunl.com/t/restrict-pritunl-login-gui-on-gateway-of-vpn-servers/2921 "2024-12-27T11:02:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustafa](https://forum.pritunl.com/user_avatar/forum.pritunl.com/mustafa/32/1027_2.png) [@Mustafa](https://forum.pritunl.com/u/Mustafa)\
**Post date:** [December 27, 2024, 11:02am UTC](https://forum.pritunl.com/t/restrict-pritunl-login-gui-on-gateway-of-vpn-servers/2921/1 "2024-12-27T11:02:09Z")

</div>

Hi,

I have an issue where any user connected to my network is able to access the Pritunl login GUI if they type the gateway of any VPN server I have provisioned, running on private IP pools. Naturally, this is a huge security risk and we want to restrict this login for the Public IP of the Pritunl server itself for administrator use. From my understanding, the gateway will divert all traffic to the public IP of the server due to which this login appears but is there any way that I can stop this from happening and restrict the login page for only the intended administrators? Thanks for any help 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:** [December 27, 2024, 1:50pm UTC](https://forum.pritunl.com/t/restrict-pritunl-login-gui-on-gateway-of-vpn-servers/2921/2 "2024-12-27T13:50:27Z")

</div>

Blocking access to that will break WireGuard support. An iptables rule will need to be added to block access such as `sudo iptables -I INPUT 1 -p tcp -s 123.123.123.123 --dport 443 -j DROP`

---

<div class="post-metadata">

**Author:** ![Mustafa](https://forum.pritunl.com/user_avatar/forum.pritunl.com/mustafa/32/1027_2.png) [@Mustafa](https://forum.pritunl.com/u/Mustafa)\
**Post date:** [December 31, 2024, 11:20am UTC](https://forum.pritunl.com/t/restrict-pritunl-login-gui-on-gateway-of-vpn-servers/2921/3 "2024-12-31T11:20:10Z")

</div>

Thanks for the support, zach 🙂
