[Advanced Operation and Maintenance Knowledge] Teach you how to deploy Cloud Lock WAF (Web Application Firewall)

This article teaches you how to deploy Cloud Lock WAF, which is an open source firewall application that can protect our website from being attacked to a certain extent. It is deployed on the client and server. Let’s look at it separately.

Official website address

Help documentation

Server

You need to ensure that you can connect to the Internet and ensure that the communication between the server and the 443 port of the Cloud Lock Cloud Center remains open. You can telnet apiv3.yunsuo.com.cn 443check whether there is connectivity through commands.

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

cd0b6a3086cd4172beb552a6795deebe.png

After downloading on Windows, import the web server

[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

client

Windows can be downloaded

63db7ca7f9664d91b759443e390a2bdf.png

ed41ec06092b4904b3669aba230cf8fc.png

ca6516925c3d484e97d4af199b83ebdf.png  

71a80b31a50346be8aaea4b547d4bdcf.png

fb934075f0e34330a03cf4a3eadc84a7.png

Double-click to enter server host operation protection 

5b88f72f4a244a81971e5dcabd079413.png

Deployment completed!


My name is Koten. I have 10 years of operation and maintenance experience. I continue to share operation and maintenance tips. Thank you for reading and paying attention!

 

Guess you like

Origin blog.csdn.net/qq_37510195/article/details/130375313