Your traffic in this new shell will be automatically redirected through proxy server. This command will start another bash shell with proxychains in your terminal and from now on you don’t have to prepend proxychains to your command. If you want to redirect all your terminal traffic through proxy server, then enter start a new shell program with proxychains, like below. If you are using youtube-dl then you may know that it has not built-in support for socks proxy, but Proxychains will redirect youtube-dl to go through the proxy server. Just prepend proxychains to any command you execute like the following. On Arch Linux, there’s no proxyresolv config file. Debian/Ubuntu sudo nano /usr/lib/proxyresolv Linux Mint/Elementary OS sudo nano /usr/lib/proxychains3/proxyresolv Fedora/CentOS/Redhat/OpenSUSE sudo nano /usr/bin/proxyresolvįind the following line DNS_SERVER=4.4.2.2Ĭhange its value to something like 8.8.8.8. It’s highly recommended that you change the default 4.4.2.2 DNS server to something else, such as Google’s DNS server 8.8.8.8/8.8.4.4. The default proxy is socks4 127.0.0.1 9050 which you can safely remove. Again, change them to your specific situation. 127.0.0.1 is the proxy host, and 1080 is the port on which proxy server listens. Socks5 is the proxy type, you can add other types as well such as http, https, socks4 etc. sudo nano /etc/nfĪt the end of the file, add your proxy like this socks5 127.0.0.1 1080 On kali linux, proxychains is installed by default. sudo zypper install proxychains Fedora sudo dnf install proxychains CentOS/Redhat sudo yum install proxychains Archlinux sudo pacman -S proxychains-ng Proxychains is available from the packman repository. Install proxychains on Linux Debian/Ubuntu/Linux Mint/Elementary OS sudo apt-get install proxychains4 OpenSUSE Leap If your don’t know how to set up a proxy server, then check out this post to learn shadowsocks proxy. This tutorial will show you how to set it up on Debian, Ubuntu, OpenSUSE, Fedora, CentOS/Redhat, Arch Linux and their derivatives. Luckily, we can use a command line utility called proxychains to redirect any program to go through our proxy server. Sometimes we install a proxy server, but only certain programs such as Firefox and Google chrome provide proxy settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |