Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to set proxy server in command line parameters

  • 2 replies
  • 1 has this problem
  • 6 views
  • Last reply by cor-el

more options

Hi,

In Chrome, I can set the proxy server by using the following command line parameters:

chrome.exe --proxy-server="socks5://139.52.68.77:15232"

Is it also possible to do so with FireFox? I want to create two shortcuts for FireFox, one using Proxy and one does not using Proxy. Thus I can start the shortcut based on my requirement instead of going to "Options" tab and set the proxy options back and forth manually, which is inconvenient.

Thanks

Hi, In Chrome, I can set the proxy server by using the following command line parameters: chrome.exe --proxy-server="socks5://139.52.68.77:15232" Is it also possible to do so with FireFox? I want to create two shortcuts for FireFox, one using Proxy and one does not using Proxy. Thus I can start the shortcut based on my requirement instead of going to "Options" tab and set the proxy options back and forth manually, which is inconvenient. Thanks

All Replies (2)

more options

Hmm, I do not see that here: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options

What you could do is create two separate Firefox profiles, configure one to use a proxy or PAC file, and then add the respective profile names to the command lines. (A profile is similar to a Chrome user identity, except that Firefox has to restart to switch profiles.)

More info: Profile Manager - Create, remove or switch Firefox profiles

more options