【亲测有效】1分钟 一种更简单的方法安装高匿名http协议(没有账号密码功能)代理服务 步骤超简单 仅限用于学习交流使用 勿用于其他用途

1,环境介绍:

OS:CentOS Linux release 7.6.1810 (Core)

tinyproxy 版本:Release 1.11.1  ps:1.10版本后支持设置用户密码,类似squid

2,直接安装:

#先执行源更新操作,更新源才能找得到tinyproxy  yum install epel-release 主要是扩展安装软件的数量


yum install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: 100.125.0.40
 * extras: 100.125.0.40
 * updates: 100.125.0.40
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be updated
---> Package epel-release.noarch 0:7-11 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================
 Package                                           Arch                                        Version                                   Repository                                   Size
===========================================================================================================================================================================================
Updating:
 epel-release                                      noarch                                      7-11                                      extras                                       15 k

Transaction Summary
===========================================================================================================================================================================================
Upgrade  1 Package

Total download size: 15 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
epel-release-7-11.noarch.rpm                                                                                                                                        |  15 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : epel-release-7-11.noarch                                                                                                                                                1/2 
  Cleanup    : epel-release-6-8.noarch                                                                                                                                                 2/2 
  Verifying  : epel-release-7-11.noarch                                                                                                                                                1/2 
  Verifying  : epel-release-6-8.noarch                                                                                                                                                 2/2 

Updated:
  epel-release.noarch 0:7-11                                                                                                                                                               

Complete!


#更新到最新源后再执行安装

yum install tinyproxy
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.ustc.edu.cn
 * epel: mirrors.bfsu.edu.cn
 * extras: mirrors.ustc.edu.cn
 * updates: mirrors.ustc.edu.cn
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package tinyproxy.x86_64 0:1.8.3-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================
 Package                                       Arch                                       Version                                           Repository                                Size
===========================================================================================================================================================================================
Installing:
 tinyproxy                                     x86_64                                     1.8.3-2.el7                                       epel                                      63 k

Transaction Summary
===========================================================================================================================================================================================
Install  1 Package

Total download size: 63 k
Installed size: 133 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/tinyproxy-1.8.3-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for tinyproxy-1.8.3-2.el7.x86_64.rpm is not installed
tinyproxy-1.8.3-2.el7.x86_64.rpm                                                                                                                                    |  63 kB  00:00:00     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-11.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 152 pre-existing rpmdb problem(s), 'yum check' output follows:
acl-2.2.51-15.el7.x86_64 is a duplicate with acl-2.2.51-14.el7.x86_64
apr-1.4.8-7.el7.x86_64 is a duplicate with apr-1.4.8-3.el7_4.1.x86_64
audit-libs-2.8.5-4.el7.x86_64 is a duplicate with audit-libs-2.8.4-4.el7.x86_64
bash-4.2.46-35.el7_9.x86_64 is a duplicate with bash-4.2.46-31.el7.x86_64
1:bash-completion-2.1-8.el7.noarch is a duplicate with 1:bash-completion-2.1-6.el7.noarch
32:bind-license-9.11.4-26.P2.el7_9.9.noarch is a duplicate with 32:bind-license-9.9.4-72.el7.noarch
binutils-2.27-44.base.el7_9.1.x86_64 is a duplicate with binutils-2.27-34.base.el7.x86_64
ca-certificates-2022.2.54-74.el7_9.noarch is a duplicate with ca-certificates-2018.2.22-70.0.el7_5.noarch
centos-release-7-9.2009.1.el7.centos.x86_64 is a duplicate with centos-release-7-6.1810.2.el7.centos.x86_64
chkconfig-1.7.6-1.el7.x86_64 is a duplicate with chkconfig-1.7.4-1.el7.x86_64
coreutils-8.22-24.el7_9.2.x86_64 is a duplicate with coreutils-8.22-23.el7.x86_64
cpio-2.11-28.el7.x86_64 is a duplicate with cpio-2.11-27.el7.x86_64
cpp-4.8.5-44.el7.x86_64 is a duplicate with cpp-4.8.5-36.el7_6.2.x86_64
cryptsetup-libs-2.0.3-6.el7.x86_64 is a duplicate with cryptsetup-libs-2.0.3-3.el7.x86_64
curl-7.29.0-59.el7_9.1.x86_64 is a duplicate with curl-7.29.0-51.el7.x86_64
cyrus-sasl-lib-2.1.26-24.el7_9.x86_64 is a duplicate with cyrus-sasl-lib-2.1.26-23.el7.x86_64
1:dbus-1.10.24-15.el7.x86_64 is a duplicate with 1:dbus-1.10.24-12.el7.x86_64
1:dbus-libs-1.10.24-15.el7.x86_64 is a duplicate with 1:dbus-libs-1.10.24-12.el7.x86_64
7:device-mapper-1.02.170-6.el7_9.5.x86_64 is a duplicate with 7:device-mapper-1.02.149-8.el7.x86_64
7:device-mapper-libs-1.02.170-6.el7_9.5.x86_64 is a duplicate with 7:device-mapper-libs-1.02.149-8.el7.x86_64
diffutils-3.3-5.el7.x86_64 is a duplicate with diffutils-3.3-4.el7.x86_64
1:dmidecode-3.2-5.el7_9.1.x86_64 is a duplicate with 1:dmidecode-3.1-2.el7.x86_64
dracut-033-572.el7.x86_64 is a duplicate with dracut-033-554.el7.x86_64
elfutils-default-yama-scope-0.176-5.el7.noarch is a duplicate with elfutils-default-yama-scope-0.172-2.el7.noarch
elfutils-libelf-0.176-5.el7.x86_64 is a duplicate with elfutils-libelf-0.172-2.el7.x86_64
elfutils-libs-0.176-5.el7.x86_64 is a duplicate with elfutils-libs-0.172-2.el7.x86_64
1:emacs-filesystem-24.3-23.el7.noarch is a duplicate with 1:emacs-filesystem-24.3-22.el7.noarch
2:ethtool-4.8-10.el7.x86_64 is a duplicate with 2:ethtool-4.8-9.el7.x86_64
expat-2.1.0-14.el7_9.x86_64 is a duplicate with expat-2.1.0-10.el7_3.x86_64
firewalld-filesystem-0.6.3-13.el7_9.noarch is a duplicate with firewalld-filesystem-0.5.3-5.el7.noarch
gcc-4.8.5-44.el7.x86_64 is a duplicate with gcc-4.8.5-36.el7_6.2.x86_64
gcc-plugin-devel-4.8.5-44.el7.x86_64 is a duplicate with gcc-plugin-devel-4.8.5-36.el7_6.2.x86_64
glibc-2.17-326.el7_9.x86_64 is a duplicate with glibc-2.17-260.el7_6.4.x86_64
glibc-common-2.17-326.el7_9.x86_64 is a duplicate with glibc-common-2.17-260.el7_6.4.x86_64
glibc-devel-2.17-326.el7_9.x86_64 is a duplicate with glibc-devel-2.17-260.el7_6.4.x86_64
glibc-headers-2.17-326.el7_9.x86_64 is a duplicate with glibc-headers-2.17-260.el7_6.4.x86_64
gpm-libs-1.20.7-6.el7.x86_64 is a duplicate with gpm-libs-1.20.7-5.el7.x86_64
1:grub2-common-2.02-0.87.0.1.el7.centos.9.noarch is a duplicate with 1:grub2-common-2.02-0.76.el7.centos.noarch
1:grub2-pc-modules-2.02-0.87.0.1.el7.centos.9.noarch is a duplicate with 1:grub2-pc-modules-2.02-0.76.el7.centos.noarch
gzip-1.5-11.el7_9.x86_64 is a duplicate with gzip-1.5-10.el7.x86_64
hostname-3.13-3.el7_7.1.x86_64 is a duplicate with hostname-3.13-3.el7.x86_64
httpd-2.4.6-97.el7.centos.5.x86_64 is a duplicate with httpd-2.4.6-88.el7.centos.x86_64
httpd-manual-2.4.6-97.el7.centos.5.noarch is a duplicate with httpd-manual-2.4.6-88.el7.centos.noarch
httpd-tools-2.4.6-97.el7.centos.5.x86_64 is a duplicate with httpd-tools-2.4.6-88.el7.centos.x86_64
ipset-libs-7.1-1.el7.x86_64 is a duplicate with ipset-libs-6.38-2.el7.x86_64
iptables-1.4.21-35.el7.x86_64 is a duplicate with iptables-1.4.21-28.el7.x86_64
iwl100-firmware-39.31.5.1-80.el7_9.noarch is a duplicate with iwl100-firmware-39.31.5.1-69.el7.noarch
1:iwl1000-firmware-39.31.5.1-80.el7_9.noarch is a duplicate with 1:iwl1000-firmware-39.31.5.1-69.el7.noarch
iwl105-firmware-18.168.6.1-80.el7_9.noarch is a duplicate with iwl105-firmware-18.168.6.1-69.el7.noarch
iwl135-firmware-18.168.6.1-80.el7_9.noarch is a duplicate with iwl135-firmware-18.168.6.1-69.el7.noarch
iwl2000-firmware-18.168.6.1-80.el7_9.noarch is a duplicate with iwl2000-firmware-18.168.6.1-69.el7.noarch
iwl2030-firmware-18.168.6.1-80.el7_9.noarch is a duplicate with iwl2030-firmware-18.168.6.1-69.el7.noarch
iwl3160-firmware-25.30.13.0-80.el7_9.noarch is a duplicate with iwl3160-firmware-22.0.7.0-69.el7.noarch
iwl3945-firmware-15.32.2.9-80.el7_9.noarch is a duplicate with iwl3945-firmware-15.32.2.9-69.el7.noarch
iwl4965-firmware-228.61.2.24-80.el7_9.noarch is a duplicate with iwl4965-firmware-228.61.2.24-69.el7.noarch
iwl5000-firmware-8.83.5.1_1-80.el7_9.noarch is a duplicate with iwl5000-firmware-8.83.5.1_1-69.el7.noarch
iwl5150-firmware-8.24.2.2-80.el7_9.noarch is a duplicate with iwl5150-firmware-8.24.2.2-69.el7.noarch
iwl6000-firmware-9.221.4.1-80.el7_9.noarch is a duplicate with iwl6000-firmware-9.221.4.1-69.el7.noarch
iwl6000g2a-firmware-18.168.6.1-80.el7_9.noarch is a duplicate with iwl6000g2a-firmware-17.168.5.3-69.el7.noarch
iwl6000g2b-firmware-18.168.6.1-80.el7_9.noarch is a duplicate with iwl6000g2b-firmware-17.168.5.2-69.el7.noarch
iwl6050-firmware-41.28.5.1-80.el7_9.noarch is a duplicate with iwl6050-firmware-41.28.5.1-69.el7.noarch
iwl7260-firmware-25.30.13.0-80.el7_9.noarch is a duplicate with iwl7260-firmware-22.0.7.0-69.el7.noarch
kbd-legacy-1.15.5-16.el7_9.noarch is a duplicate with kbd-legacy-1.15.5-15.el7.noarch
kbd-misc-1.15.5-16.el7_9.noarch is a duplicate with kbd-misc-1.15.5-15.el7.noarch
kernel-headers-3.10.0-1160.76.1.el7.x86_64 is a duplicate with kernel-headers-3.10.0-957.12.1.el7.x86_64
kernel-tools-libs-3.10.0-1160.76.1.el7.x86_64 is a duplicate with kernel-tools-libs-3.10.0-957.el7.x86_64
kmod-20-28.el7.x86_64 is a duplicate with kmod-20-23.el7.x86_64
kmod-libs-20-28.el7.x86_64 is a duplicate with kmod-libs-20-23.el7.x86_64
kpartx-0.4.9-135.el7_9.x86_64 is a duplicate with kpartx-0.4.9-123.el7.x86_64
krb5-libs-1.15.1-54.el7_9.x86_64 is a duplicate with krb5-libs-1.15.1-34.el7.x86_64
langtable-0.0.31-4.el7.noarch is a duplicate with langtable-0.0.31-3.el7.noarch
langtable-data-0.0.31-4.el7.noarch is a duplicate with langtable-data-0.0.31-3.el7.noarch
libX11-1.6.7-4.el7_9.x86_64 is a duplicate with libX11-1.6.7-2.el7.x86_64
libX11-common-1.6.7-4.el7_9.noarch is a duplicate with libX11-common-1.6.7-2.el7.noarch
libX11-devel-1.6.7-4.el7_9.x86_64 is a duplicate with libX11-devel-1.6.7-2.el7.x86_64
libacl-2.2.51-15.el7.x86_64 is a duplicate with libacl-2.2.51-14.el7.x86_64
libblkid-2.23.2-65.el7_9.1.x86_64 is a duplicate with libblkid-2.23.2-59.el7.x86_64
libcap-2.22-11.el7.x86_64 is a duplicate with libcap-2.22-9.el7.x86_64
libcom_err-1.42.9-19.el7.x86_64 is a duplicate with libcom_err-1.42.9-13.el7.x86_64
libcurl-7.29.0-59.el7_9.1.x86_64 is a duplicate with libcurl-7.29.0-51.el7.x86_64
libdb-5.3.21-25.el7.x86_64 is a duplicate with libdb-5.3.21-24.el7.x86_64
libdb-utils-5.3.21-25.el7.x86_64 is a duplicate with libdb-utils-5.3.21-24.el7.x86_64
libdrm-2.4.97-2.el7.x86_64 is a duplicate with libdrm-2.4.91-3.el7.x86_64
libffi-3.0.13-19.el7.x86_64 is a duplicate with libffi-3.0.13-18.el7.x86_64
libgcc-4.8.5-44.el7.x86_64 is a duplicate with libgcc-4.8.5-36.el7_6.2.x86_64
libgnat-devel-4.8.5-44.el7.x86_64 is a duplicate with libgnat-devel-4.8.5-36.el7_6.2.x86_64
libgo-4.8.5-44.el7.x86_64 is a duplicate with libgo-4.8.5-36.el7_6.2.x86_64
libgo-devel-4.8.5-44.el7.x86_64 is a duplicate with libgo-devel-4.8.5-36.el7_6.2.x86_64
libgomp-4.8.5-44.el7.x86_64 is a duplicate with libgomp-4.8.5-36.el7_6.2.x86_64
libmount-2.23.2-65.el7_9.1.x86_64 is a duplicate with libmount-2.23.2-59.el7.x86_64
libndp-1.2-9.el7.x86_64 is a duplicate with libndp-1.2-7.el7.x86_64
14:libpcap-1.5.3-13.el7_9.x86_64 is a duplicate with 14:libpcap-1.5.3-11.el7.x86_64
libquadmath-4.8.5-44.el7.x86_64 is a duplicate with libquadmath-4.8.5-36.el7_6.2.x86_64
libreport-filesystem-2.1.11-53.el7.centos.x86_64 is a duplicate with libreport-filesystem-2.1.11-42.el7.centos.x86_64
libseccomp-2.3.1-4.el7.x86_64 is a duplicate with libseccomp-2.3.1-3.el7.x86_64
libselinux-2.5-15.el7.x86_64 is a duplicate with libselinux-2.5-14.1.el7.x86_64
libsmartcols-2.23.2-65.el7_9.1.x86_64 is a duplicate with libsmartcols-2.23.2-59.el7.x86_64
libssh2-1.8.0-4.el7.x86_64 is a duplicate with libssh2-1.4.3-12.el7_6.2.x86_64
libsss_idmap-1.16.5-10.el7_9.13.x86_64 is a duplicate with libsss_idmap-1.16.2-13.el7.x86_64
libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 is a duplicate with libsss_nss_idmap-1.16.2-13.el7.x86_64
libstdc++-4.8.5-44.el7.x86_64 is a duplicate with libstdc++-4.8.5-36.el7_6.2.x86_64
libstdc++-devel-4.8.5-44.el7.x86_64 is a duplicate with libstdc++-devel-4.8.5-36.el7_6.2.x86_64
libteam-1.29-3.el7.x86_64 is a duplicate with libteam-1.27-5.el7.x86_64
libuuid-2.23.2-65.el7_9.1.x86_64 is a duplicate with libuuid-2.23.2-59.el7.x86_64
linux-firmware-20200421-80.git78c0348.el7_9.noarch is a duplicate with linux-firmware-20190429-72.gitddde598.el7.noarch
lm_sensors-libs-3.4.0-8.20160601gitf9185e5.el7.x86_64 is a duplicate with lm_sensors-libs-3.4.0-6.20160601gitf9185e5.el7.x86_64
lz4-1.8.3-1.el7.x86_64 is a duplicate with lz4-1.7.5-2.el7.x86_64
1:make-3.82-24.el7.x86_64 is a duplicate with 1:make-3.82-23.el7.x86_64
man-pages-overrides-7.9.0-1.el7.x86_64 is a duplicate with man-pages-overrides-7.6.2-1.el7.x86_64
nettle-2.7.1-9.el7_9.x86_64 is a duplicate with nettle-2.7.1-8.el7.x86_64
nspr-4.32.0-1.el7_9.x86_64 is a duplicate with nspr-4.19.0-1.el7_5.x86_64
nss-3.67.0-4.el7_9.x86_64 is a duplicate with nss-3.36.0-7.el7_5.x86_64
nss-pem-1.0.3-7.el7.x86_64 is a duplicate with nss-pem-1.0.3-5.el7.x86_64
nss-softokn-3.67.0-3.el7_9.x86_64 is a duplicate with nss-softokn-3.36.0-5.el7_5.x86_64
nss-softokn-freebl-3.67.0-3.el7_9.x86_64 is a duplicate with nss-softokn-freebl-3.36.0-5.el7_5.x86_64
nss-sysinit-3.67.0-4.el7_9.x86_64 is a duplicate with nss-sysinit-3.36.0-7.el7_5.x86_64
nss-tools-3.67.0-4.el7_9.x86_64 is a duplicate with nss-tools-3.36.0-7.el7_5.x86_64
nss-util-3.67.0-1.el7_9.x86_64 is a duplicate with nss-util-3.36.0-1.el7_5.x86_64
openldap-2.4.44-25.el7_9.x86_64 is a duplicate with openldap-2.4.44-20.el7.x86_64
1:openssl-libs-1.0.2k-25.el7_9.x86_64 is a duplicate with 1:openssl-libs-1.0.2k-16.el7.x86_64
pam-1.1.8-23.el7.x86_64 is a duplicate with pam-1.1.8-22.el7.x86_64
4:perl-5.16.3-299.el7_9.x86_64 is a duplicate with 4:perl-5.16.3-293.el7.x86_64
1:perl-Pod-Escapes-1.04-299.el7_9.noarch is a duplicate with 1:perl-Pod-Escapes-1.04-293.el7.noarch
perl-Socket-2.010-5.el7.x86_64 is a duplicate with perl-Socket-2.010-4.el7.x86_64
4:perl-libs-5.16.3-299.el7_9.x86_64 is a duplicate with 4:perl-libs-5.16.3-293.el7.x86_64
4:perl-macros-5.16.3-299.el7_9.x86_64 is a duplicate with 4:perl-macros-5.16.3-293.el7.x86_64
procps-ng-3.3.10-28.el7.x86_64 is a duplicate with procps-ng-3.3.10-23.el7.x86_64
python-2.7.5-92.el7_9.x86_64 is a duplicate with python-2.7.5-76.el7.x86_64
python-chardet-2.2.1-3.el7.noarch is a duplicate with python-chardet-2.2.1-1.el7_1.noarch
python-firewall-0.6.3-13.el7_9.noarch is a duplicate with python-firewall-0.5.3-5.el7.noarch
python-jinja2-2.7.2-4.el7.noarch is a duplicate with python-jinja2-2.7.2-2.el7.noarch
python-libs-2.7.5-92.el7_9.x86_64 is a duplicate with python-libs-2.7.5-76.el7.x86_64
python-linux-procfs-0.4.11-4.el7.noarch is a duplicate with python-linux-procfs-0.4.9-4.el7.noarch
python-urlgrabber-3.10-10.el7.noarch is a duplicate with python-urlgrabber-3.10-9.el7.noarch
1:quota-nls-4.01-19.el7.noarch is a duplicate with 1:quota-nls-4.01-17.el7.noarch
readline-6.2-11.el7.x86_64 is a duplicate with readline-6.2-10.el7.x86_64
rpm-4.11.3-48.el7_9.x86_64 is a duplicate with rpm-4.11.3-35.el7.x86_64
rpm-libs-4.11.3-48.el7_9.x86_64 is a duplicate with rpm-libs-4.11.3-35.el7.x86_64
sed-4.2.2-7.el7.x86_64 is a duplicate with sed-4.2.2-5.el7.x86_64
setup-2.8.71-11.el7.noarch is a duplicate with setup-2.8.71-10.el7.noarch
1:sg3_utils-libs-1.37-19.el7.x86_64 is a duplicate with sg3_utils-libs-1.37-17.el7.x86_64
2:shadow-utils-4.6-5.el7.x86_64 is a duplicate with 2:shadow-utils-4.1.5.1-25.el7.x86_64
sqlite-3.7.17-8.el7_7.1.x86_64 is a duplicate with sqlite-3.7.17-8.el7.x86_64
systemd-219-78.el7_9.7.x86_64 is a duplicate with systemd-219-62.el7_6.6.x86_64
systemd-libs-219-78.el7_9.7.x86_64 is a duplicate with systemd-libs-219-62.el7_6.6.x86_64
tzdata-2022c-1.el7.noarch is a duplicate with tzdata-2018e-3.el7.noarch
unzip-6.0-24.el7_9.x86_64 is a duplicate with unzip-6.0-19.el7.x86_64
util-linux-2.23.2-65.el7_9.1.x86_64 is a duplicate with util-linux-2.23.2-59.el7.x86_64
2:vim-filesystem-7.4.629-8.el7_9.x86_64 is a duplicate with 2:vim-filesystem-7.4.160-5.el7.x86_64
xz-5.2.2-2.el7_9.x86_64 is a duplicate with xz-5.2.2-1.el7.x86_64
xz-libs-5.2.2-2.el7_9.x86_64 is a duplicate with xz-libs-5.2.2-1.el7.x86_64
zlib-1.2.7-20.el7_9.x86_64 is a duplicate with zlib-1.2.7-18.el7.x86_64
  Installing : tinyproxy-1.8.3-2.el7.x86_64                                                                                                                                            1/1 
Created symlink from /etc/systemd/system/multi-user.target.wants/tinyproxy.service to /usr/lib/systemd/system/tinyproxy.service.
  Verifying  : tinyproxy-1.8.3-2.el7.x86_64                                                                                                                                            1/1 

Installed:
  tinyproxy.x86_64 0:1.8.3-2.el7                                                                                                                                                           

Complete!

3,根据需要修改配置文件:

vi /etc/tinyproxy/tinyproxy.conf

核心参数:

#
# Port: Specify the port which tinyproxy will listen on.  Please note
# that should you choose to run on a port lower than 1024 you will need
# to start tinyproxy using root.
#
Port 8888

#
# BindSame: If enabled, tinyproxy will bind the outgoing connection to the
# ip address of the incoming connection.
#
BindSame yes

#
# XTinyproxy: Tell Tinyproxy to include the X-Tinyproxy header, which
# contains the client's IP address.
#
XTinyproxy no

#
# MaxClients: This is the absolute highest number of threads which will
# be created. In other words, only MaxClients number of clients can be
# connected at the same time.
#
MaxClients 100

#
# Allow: Customization of authorization controls. If there are any
# access control keywords then the default action is to DENY. Otherwise,
# the default action is ALLOW.
#
# The order of the controls are important. All incoming connections are
# tested against the controls based on order.
#
#Allow 127.0.0.1

#
# ViaProxyName: The "Via" header is required by the HTTP RFC, but using
# the real host name is a security concern.  If the following directive
# is enabled, the string supplied will be used as the host name in the
# Via header; otherwise, the server's host name will be used.
#
ViaProxyName "tinyproxy"

#
# DisableViaHeader: When this is set to yes, Tinyproxy does NOT add
# the Via header to the requests. This virtually puts Tinyproxy into
# stealth mode. Note that RFC 2616 requires proxies to set the Via
# header, so by enabling this option, you break compliance.
# Don't disable the Via header unless you know what you are doing...
#
DisableViaHeader Yes

4,启动,查看状态:

systemctl enable tinyproxy.service 

systemctl status tinyproxy.service 

systemctl start tinyproxy.service 


systemctl status tinyproxy.service

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Zda天天爱打卡

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值