Home  >  Article  >  How to use a proxy server on the local computer and automatically set the proxy

How to use a proxy server on the local computer and automatically set the proxy

奋力向前
奋力向前forward
2021-07-05 22:22:499421browse

How to use the proxy server method on the local computer 1: Manually set proxy method 2: Automatic setting, directly use the command line to modify

How to use a proxy server on the local computer and automatically set the proxy



##local How to use a proxy server on your computer


Method 1: Manually set the proxy

1. Press the win key, or open the IE browser

2. Search for internet options, or In the upper right corner of the IE browser settings, select Internet Options.

3. Click on the connection and find the LAN settings

4. Check the proxy and set the ip address and port.


In this way, we have successfully set up the proxy, and all data accessed next will be transferred to this proxy IP.


Method 2: Automatically set, directly use the command line to modify

Such modification is too troublesome. Is it simpler to directly use the command line to solve it?

Set the proxy (the following ip is set as the proxy ip), the proxy ip website is recommended http://proxydb.net/:

@echo off
echo 设置代理服务器……
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "39.106.223.1342:80" /f
start iexplore.exe
Pause
Cancel the proxy:

@echo off
echo 取消代理服务器……
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0x0 /f
start iexplore.exe
Pause
Why here Do you want to start the IE browser? The main reason is to make our configuration take effect. We have tried some methods but it cannot take effect. It is faster and simpler to start the IE browser to take effect.

For more computer-related knowledge, please visit the FAQ section!

The above is the detailed content of How to use a proxy server on the local computer and automatically set the proxy. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete