clingfei / proxy

应用代理防火墙

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proxy

编译

mkdir rules
touch ip content hostname
make clean && make

配置规则

  • Add target
  • Modify target
  • Delete target seq
  • List target
  • Quit

target 包括 Content, Host, IP

seq 为 List中指定的序号

IP的输入规则: ip username password 若无需用户验证,则用None代替username和password

测试:

使用curl

curl -x serveraddr:port desthost    //通过serveraddr上的指定代理访问目标服务器
curl -u username:passwd -x serveraddr:port desthost  //使用Authorization用户验证
  • List IP img.png

  • List Host img.png

  • List Content

    img.png

  • Delete Content

    img.png

  • Add IP img.png

  • Host

    img.png

  • Content

    img.png

  • 正常

    img.png

About

应用代理防火墙


Languages

Language:C 99.4%Language:Makefile 0.6%