To open Google Chrome with a proxy server, you can use the command-line options or configure the proxy settings in Chrome. Here’s how to do it:
1. Use Command-Line Options
You can launch Chrome with proxy settings directly from the command line or a shortcut:
Windows
- Create a shortcut for Chrome (right-click the Chrome icon > “Create shortcut”).
- Right-click the shortcut and choose “Properties.”
- In the Target field, append the proxy settings:
For example:--proxy-server=http://[proxy_address]:[port]
"C:\Program Files\Google\Chrome\Application\chrome.exe" --proxy-server=http://192.168.1.1:8080
- Click OK and use this shortcut to open Chrome with the proxy.
macOS
- Open Terminal.
- Use the following command:
Replaceopen -a "Google Chrome" --args --proxy-server=http://[proxy_address]:[port]
[proxy_address]
and[port]
with your proxy server details.
Linux
- Open a terminal.
- Run Chrome with the proxy argument:
google-chrome --proxy-server=http://[proxy_address]:[port]
2. Configure Proxy in Chrome Settings
If you want a persistent setup:
- Open Chrome and navigate to
chrome://settings
. - Scroll down and click Advanced.
- Under System, click Open your computer’s proxy settings.
- Configure the proxy settings for your operating system:
- Windows: Modify proxy settings in the “Internet Properties” dialog.
- macOS: Adjust the proxy settings in “Network Preferences.”
- Linux: Configure the proxy through your system’s network settings.
3. Use an Extension (Optional)
Chrome extensions like Proxy SwitchyOmega or FoxyProxy allow you to manage proxy settings dynamically without modifying system or command-line settings.
Let me know if you need further assistance!
标签:settings,Chrome,shortcut,server,How,proxy,--,open From: https://blog.csdn.net/yuguo_im/article/details/143835662