You can block non-Teams accounts from hosting within your network by using your Team's websocket API. If you have a restrictive firewall, please allow YOURTEAMID.team-ws.parsec.app . After that, you should turn on the setting in your Parsec App Rules. Once it's confirmed working, you should configure your office firewall to block the Parsec consumer APIs and whitelist the Parsec Teams API.
Parsec App Config
- Head over to your Teams page (only Team owners can do this)
- Turn on Websocket Override in Parsec App Rules.
- Make the changes to your firewall, and only people using Parsec for Teams can use Parsec inside your network
Configure Your Office Firewall
- Deny non-Team usage of Parsec by blocking connections to this domain:
Block kessel-ws.parsec.app - Allow connections for your team to this domain:
Allow YOURTEAMID.team-ws.parsec.app For example, if your team ID is 1abcdefg, you would configure your network to Allow 1abcdefg.team-ws.parsec.app - (Optional) Block *.team-ws.parsec.app at a lower priority than the Allow rule from step 2. This will ensure that someone cannot sign up for a different team and connect to it from your network.