How To Install 3proxy on CentOS 8

3proxy is Tiny but very powerful proxy

Introduction

In this tutorial we learn how to install 3proxy on CentOS 8.

What is 3proxy

3proxy – light proxy server. Universal proxy server with HTTP, HTTPS, SOCKS v4, SOCKS v4a, SOCKS v5, FTP, POP3, UDP and TCP portmapping, access control, bandwith control, traffic limitation and accounting based on username, client IP, target IP, day time, day of week, etc.

We can use yum or dnf to install 3proxy on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install 3proxy.

Install 3proxy on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install 3proxy using dnf by running the following command:

sudo dnf -y install 3proxy

Install 3proxy on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install 3proxy using yum by running the following command:

sudo yum -y install 3proxy

How To Uninstall 3proxy on CentOS 8

To uninstall only the 3proxy package we can use the following command:

sudo dnf remove 3proxy

3proxy Package Contents on CentOS 8

/etc/3proxy.cfg
/usr/bin/3proxy
/usr/bin/dighosts
/usr/bin/ftppr
/usr/bin/htproxy
/usr/bin/mycrypt
/usr/bin/pop3p
/usr/bin/socks
/usr/bin/tcppm
/usr/bin/udppm
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/f3182e9333e11b8d112d3417bd0804c4fbed6e
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/92495c80bf6436c36816c70fd340470b47e39d
/usr/lib/.build-id/64
/usr/lib/.build-id/64/cd813b4d927df57ed26b45078734b0fd2fef1e
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/0cab59671fab987999c7a8fce8599740eae912
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/243592f21f4456488436892607e1b5c5374d84
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/58cd46f8304ffc63dccf5be43df6f6d04da4ee
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/a03b0c2daa8b80d830cd03e55ebcf0793e29a1
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/ea912cd7849d08507b36e201bd31b933a4bf32
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/e6fa7781543ad784ed5bf8ee2ba6a9866af67e
/usr/lib/systemd/system/3proxy.service
/usr/share/doc/3proxy
/usr/share/doc/3proxy/README
/usr/share/doc/3proxy/Release.notes
/usr/share/doc/3proxy/authors
/usr/share/licenses/3proxy
/usr/share/licenses/3proxy/copying
/usr/share/man/man3/3proxy.cfg.3.gz
/usr/share/man/man8/3proxy.8.gz
/usr/share/man/man8/ftppr.8.gz
/usr/share/man/man8/icqpr.8.gz
/usr/share/man/man8/pop3p.8.gz
/usr/share/man/man8/proxy.8.gz
/usr/share/man/man8/smtpp.8.gz
/usr/share/man/man8/socks.8.gz
/usr/share/man/man8/tcppm.8.gz
/usr/share/man/man8/udppm.8.gz
/var/log/3proxy

References

Summary

In this tutorial we learn how to install 3proxy on CentOS 8 using yum and dnf.