Home

Awesome

简介

web-firewall基于golang+vue3 开发的Web Linux防火墙,前端使用SoybeanAdmin框架,后端使用goframe2,数据库支持 sqlite3(默认)/postgresql ,它可以在Linux系统中基于nfatables用于替代firewalld工具。

Gitee Star:gitee star

Github Star:github star

Github Forks:github forks

该防火墙可以提供以下功能

功能设计

安装

本项目提供一个已经打包编译好的项目,用户仅需自己下载本项目解压后,执行 里面的install.sh文件即可,如果自己编译项目请根据前后端代码自行进行打包即可

unzip v1.1.0.zip
cd v1.1.0
bash install.sh

# 查看服务是否正常运行
systemctl status web-firewalld

# 建议停用firewalld服务
systemctl disable  firewalld
systemctl stop  firewalld

访问地址:http://ip:8000

默认账号密码:admin/admin

docker部署

docker使用必须以特权和host模式运行才能操作主机的网络配置

docker run
  -itd
  --network host
  --privileged 
  -v /path/config:/web-firewall/manifest/config
  web-firewall

/path/config目录内需要提供config.yaml配置文件和db.sqlite3初始化数据库文件

配置中database的目录需要修改为

link: "sqlite::@file(./manifest/config/db.sqlite3)"

项目截图

登录

主题

国际化

添加策略

添加流控

暗模式

自适应