使用Tinyproxy在Azure搭建代理

Tools : Tinyproxy is a small, efficient HTTP/SSL proxy daemon released under the GNU General Public License. Tinyproxy is very useful in a small network setting, where a larger proxy would either be too resource intensive, or a security risk. One of the key features of Tinyproxy is the buffering connection concept

Using Azure VM Setup
1.Prepared a VM with Linux system and select region which you want to setup proxy from it.
在这里插入图片描述
2.Using ssh to connect VM.
if there have error to remind “permission too open…” please modified “.pem” file permission:
Properties→security >advanced > disabled inheritance→"covert…"
Remove all of user except current user
try again

3.Config Tinyproxy
Run command to install :
sudo apt-get update sudo
apt-get install tinyproxy
Modified proxy port config file and Save:
sudo vim /etc/tinyproxy/tinyproxy.conf
Set proxy port which you want to enabled: proxy url : xxx.xx.xx.xx:8888
annotation this line “Allow 127.0.0.1” and insert allow ip. if not set ,will keep default :allow any
Start server:

sudo service tinyproxy start
在这里插入图片描述
![!](https://img-blog.csdnimg.cn/1012cc99d7a64a429ad4076d409222c9.png)在这里插入图片描述
check log: /var/log/tinyproxy/tinyproxy.log

4.Config Azure network
Shutdown machine
Set DNS label (public network)
在这里插入图片描述
5.Go to networking to set inbound port rules (Must enabled source from IP address. this method provided safe access for host)
add inbound security rule for proxy server port : 8888
add inbound security rule for HTTP
add inbound security rule for HTTPS
6. Power on Proxy server and Setup client
Go to host file and added DNS label on it
Setup proxy on it and test
在这里插入图片描述

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值