How to configure sock5 Agent with wget Command under ubuntu
This article mainly explains "how to configure sock5 agent with wget command under ubuntu". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "how to configure sock5 agent with wget command under ubuntu"!
1. Ubuntu installs net-tools.
Oucanrong@zcwyou:~$ sudo apt install net-tools
CentOS/RHEL installation net-tools:
[root@centos7 ~] # yum-y install net-tools
Check the connection to the proxy server:
Oucanrong@zcwyou:~$ sudo netstat-lntp
Check the proxy server connection
2. Install tsocks.
Oucanrong@zcwyou:~/newkernel$ sudo apt-get install tsocks .
3. Modify the tsocks configuration file oucanrong.
@ zcwyou:~$ sudo vi / etc/tsocks.conf.
4. Wget connects to the target server with tsocks.
Oucanrong@zcwyou:~$ tsocks wget https://www.linuxrumen.com/wp-content/uploads/2018/12/brand.png
At this point, I believe you have a deeper understanding of "how to configure sock5 agent with wget commands under ubuntu". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!