【运维知识进阶篇】教你部署云锁WAF(Web应用防火墙)

这篇文章教大家部署云锁WAF,这是一款开源防火墙应用,可以在一定程度上保护我们的网站不被攻击,分客户端和服务端部署,我们分别来看下。

官网地址

帮助文档

服务端

需要保证能联网,保证服务器端与云锁云中心的443端口通信保持畅通,可以通过命令telnet apiv3.yunsuo.com.cn 443检查是否连通

[root@web01 ~]# telnet apiv3.yunsuo.com.cn 443

cd0b6a3086cd4172beb552a6795deebe.png

windows上下载好后,导入web服务器

[root@web01 ~]# rz -E
[root@web01 ~]# tar zxvf yunsuo_agent_64bit.tar.gz 
yunsuo_install/
yunsuo_install/src_lib.tar.gz
yunsuo_install/install
yunsuo_install/check_disk_space
[root@web01 ~]# chmod +x yunsuo_install/install
[root@web01 ~]# yunsuo_install/install
Welcome.
If you encounter any problems during installation, you can use 'ctrl-c' to cancel.

checking installation environment:                   [ OK ]
decompression package:                               [ OK ]
Install Selinux Policy Module:                       [ OK ]
Initialize Configuration Information:                      [ OK ]
Install Auto-start Script:                                 [ OK ]
Install Protection Driver:                                 [ OK ]
Starting SoftWare:                                         [ OK ]

Install Complete.
[root@web01 ~]# /usr/local/yunsuo_agent/agent_smart_tool.sh -u username -p password
Bind Server Success.    #添加账号密码到云中心
[root@web01 ~]#  ps -ef | grep yunsuo_agent    #查看是否运行
root     25369     1  0 00:00 ?        00:00:00 ./yunsuo_agent_service -c config.xml -l runlog/run_log.log -e ALL -t ALL -s safe -m daemon
root     25443     1  0 00:00 ?        00:00:00 ./yunsuo_agent_guard
root     25624 24791  0 00:02 pts/0    00:00:00 grep --color=auto yunsuo_agent

#开启,停止,重启,状态
service yunsuo start/stop/restart/status
/etc/init.d/yunsuo start/stop/restart/status

#卸载云锁
/usr/local/yunsuo_agent/uninstall

客户端

windows下载即可

63db7ca7f9664d91b759443e390a2bdf.png

ed41ec06092b4904b3669aba230cf8fc.png

ca6516925c3d484e97d4af199b83ebdf.png  

71a80b31a50346be8aaea4b547d4bdcf.png

fb934075f0e34330a03cf4a3eadc84a7.png

双击可进入服务器主机操作防护 

5b88f72f4a244a81971e5dcabd079413.png

部署完成!


我是koten,10年运维经验,持续分享运维干货,感谢大家的阅读和关注!

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

我是koten

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

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

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

打赏作者

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

抵扣说明:

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

余额充值