搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Proxy settings

  • 無回覆
  • 1 有這個問題
  • 7 次檢視
more options

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?

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?