Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use proxychains-ng Agent to forward Terminal commands

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to use proxychains-ng proxy to forward terminal commands. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

ProxyChains follows the GNU protocol as a network proxy setting tool for linux systems. Forces TCP connection requests initiated by any program to go through proxies such as TOR or SOCKS4, SOCKS5 or HTTP (S). Supported authentication methods include: SOCKS4/5 user / password authentication, HTTP basic authentication.

Project address

Project home page: https://github.com/rofl0r/proxychains-ng

Proxychains-ng is an enhanced version of proxychains and has the following functions:

Support http/https/socks4/socks5 support authentication remote dns query multiple agent mode installation

Source code compilation and installation

Download the source code $git clone https://github.com/rofl0r/proxychains-ng, compile and install $. / configure-- prefix=/usr-- sysconfdir=/etc$ make$ make install$ make install-config (install proxychains.conf configuration file). There are also packages in the yum warehouse where Fedora is installed. The direct execution of dnf install proxychains-ng.x86_64 is not just Fedora. Other distributions include proxychains in their respective source repositories. Specifically, you can search for the corresponding package manager installation commands. Before using it, you need to have a port with VPN proxy forwarding enabled and smooth forwarding, such as the common port 1080. You don't have to say exactly. If you don't know what it means, you don't have to look down any further, just know that you have this order. Then modify the proxychains configuration file. The default directory is the / etc/proxychains.conf file, and some [ProxyList] parameters are given by default, which can be modified and added directly to the bottom of the file. For example, the parameter configuration above $vim proxychains.confs [ProxyList] socks5 127.0.0.1 1080 means that proxychains forwards the required commands over sock5 on port 1080, and if you need any commands to use proxy forwarding, execute the "proxychains4+ command". One picture is worth a thousand words: if the command is too long and some shell does not support command completion, you can rename alias pc='proxychains4' with the alias command.

Proxychains4 is an artifact that solves many problems of slow network, stuck and lost. There was a time when git pull and push were very slow on github, and after being forwarded through this agent, it felt as smooth as silk.

Thank you for reading! This is the end of this article on "how to use proxychains-ng proxy to forward terminal commands". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report