Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

To inspect ChatGPT\Copilot interactions in real time, you have to redirect their traffic from client PC’s to AI Firewall proxy server.

This can be achieved with a PAC file configured in each PC proxy settings, or integrated in the organization PAC file.

Here is the AI Firewall PAC file configuration and URL’s:

function FindProxyForURL(url, host) {
	
	var ignorelist = new Array();
	
	var proxylist = new Array(
		"*chatgpt.com",
		"*.openai.com",
		"*chatgpt*.webpubsub.azure.com",
		"*.oaiusercontent.com",
		"sydney.bing.com",
		"browser.events.data.microsoft.com",
		"substrate.office.com",
		"*.bingapis.com",
		"copilot.microsoft.com",
		"augloop.office.com",
		"gemini.google.com"

//		"*.clients6.google.com",
//		"*.googleusercontent.com",
//		"*.googletagmanager.com",
//		"*.googleapis.com"

			);
			
	// Check if need to ignore
	for (var i = 0; i < ignorelist.length; i++) {
		var value = ignorelist[i];
		if (dnsDomainIs(host, value)) {
			return "DIRECT";
		}
	}
	
	// Return our proxy name for matched domains/hosts
	for (var i = 0; i < proxylist.length; i++) {
		var value = proxylist[i];
		if (shExpMatch(host, value)) {
			return "PROXY 52.54.169.109:80";
		}
	}

	return "DIRECT";
}

URL to AGAT PAC file: https://agatpacs.s3.amazonaws.com/AGAT_AI.pac

  • No labels