
Linux Terminal Agent Configuration
For users who are used to operating Linux from the command line, configuring the agent directly to the terminal can significantly improve work efficiency. Here we teach you two common methods:
Method 1: Temporary environment variable settings
Executed in the session window where the proxy is required (http protocol as an example):
export http_proxy="http://用户名:密码@proxy:port" export https_proxy="http://用户名:密码@proxy:port"
For example, when using the proxy service provided by ipipgo, it is recommended to use theEncrypted Connection Method::
export https_proxy="https://user123:pass456@proxy.ipipgo.net:3128"
Method 2: Persistent Configuration
Added at the end of the ~/.bashrc file:
alias setproxy='export ALL_PROXY="http://代理地址:端口"' alias unsetproxy='unset ALL_PROXY'
This way you only need to enter thesetproxyReady to go.unsetproxyQuick close.
Tips for setting up system-level agents
For scenarios that require a global agent, it is recommended to configure a system agent:
- Open Network Settings > Network Proxy
- Select Manual Configuration Mode
- Fill in the proxy server information provided by ipipgo (protocols/ports need to correspond)
| Protocol type | Applicable Scenarios |
|---|---|
| SOCKS5 | full-traffic forwarding |
| HTTP/HTTPS | web request |
When using the ipipgo service it is recommended to prioritize theSOCKS5 protocolIt supports TCP/UDP full-protocol forwarding, which, together with the 90 million+ residential IP resources provided by the platform, ensures the stability and anonymity of the connection.
Command Line Tool Agent Settings
Different tools require separate agent configurations:
1. Git Agent Configuration
git config --global http.proxy http://代理地址:端口
2. Wget proxy configuration
vim ~/.wgetrc http_proxy = http://代理地址:端口 https_proxy = http://代理地址:端口
3. Curl agent configuration
curl -x socks5://proxy address:port https://example.com
Frequently Asked Questions
Q: What should I do if the proxy does not take effect after setting?
A: ① check whether the port is open ② confirm that the protocol type matches ③ test the connectivity of the proxy server (it is recommended to use the online testing tool provided by ipipgo)
Q: How do I choose a multi-protocol?
A: http is suitable for simple requests, socks5 supports all protocols. ipipgo's proxy server opens both ports by default, so it is recommended to prioritize the socks5 protocol.
Q: How to optimize the unstable connection speed?
A: ① Change the access region ② Use static long-lasting IP ③ Adjust the protocol type. ipipgo supports IP filtering by region and provides two types of resource pools: dynamic and static, so it is recommended that you choose one according to your business needs.
By reasonably configuring the proxy environment, you can fully utilize the network capability of your Linux system. Choosing a professional proxy service provider such as ipipgo can guarantee the quality of IP resources as well as complete protocol support. It is recommended that the first time you use it, you should first pass theFree Test ChannelVerify the effect of the proxy, and then adjust the configuration plan according to the actual needs.

