I am trying to configure a proxy server for firefox, but I am seeing inconsistent results. The intent is for this proxy to block outside traffic/browsing and only allow traffic to specific internal servers.
I have configured the below proxy settings, but it seems that these are not being used in all cases. For example, if I type a full web address into the address bar and hit enter, it states that the proxy is not allowing the connection, however, if I use the address bar/search engine to search, it will show me web results and links for pages pull up normally. This behavior is also not consistent on all devices, some devices are blocked as expected when searching.
lockPref("network.proxy.type", 1); lockPref("network.proxy.http", "127.0.0.1"); lockPref("network.proxy.http_port", 8080); lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, my.domain.net"); lockPref("network.proxy.share_proxy_settings", true);
Why does firefox ignore my proxy settings for searching? Are there any other approaches that could be used here that wouldn't affect other browsers?