# Restrict access to Pritunl web UI only to peers connected to a VPN hosted by Pritunl

**URL:** <https://forum.pritunl.com/t/restrict-access-to-pritunl-web-ui-only-to-peers-connected-to-a-vpn-hosted-by-pritunl/3405>\
**Category:** Pritunl\
**Created:** [July 7, 2025, 2:13pm UTC](https://forum.pritunl.com/t/restrict-access-to-pritunl-web-ui-only-to-peers-connected-to-a-vpn-hosted-by-pritunl/3405 "2025-07-07T14:13:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkalugeroff](https://forum.pritunl.com/user_avatar/forum.pritunl.com/kkalugeroff/32/1298_2.png) [@kkalugeroff](https://forum.pritunl.com/u/kkalugeroff)\
**Post date:** [July 7, 2025, 2:13pm UTC](https://forum.pritunl.com/t/restrict-access-to-pritunl-web-ui-only-to-peers-connected-to-a-vpn-hosted-by-pritunl/3405/1 "2025-07-07T14:13:08Z")

</div>

Is there a way to achieve such restriction of the UI ?

---

<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:** [July 8, 2025, 1:13pm UTC](https://forum.pritunl.com/t/restrict-access-to-pritunl-web-ui-only-to-peers-connected-to-a-vpn-hosted-by-pritunl/3405/2 "2025-07-08T13:13:53Z")

</div>

This can be done with a firewall, there’s no option in Pritunl to control access to specific IP addresses. Some connection modes including connection single sign-on, dynamic firewall and device authentication require the web server to be available before being connected.
