pretty66 / iptables-web Goto Github PK
View Code? Open in Web Editor NEWgolang开发的iptables web 管理程序
License: Apache License 2.0
golang开发的iptables web 管理程序
License: Apache License 2.0
当客户端无法访问公网环境时,css和js加载失败,导致web显示异常,功能均不可用,是否可以考虑把js和css改为本地引用,我尝试下载js和css,并修改为本地引用,编译重新运行,没能搞定。。我前端不太熟悉
/home/qgb# docker run -d \
> --name iptables-web \
> --privileged=true \
> --net=host \
> -e "IPT_WEB_USERNAME=admin" \
> -e "IPT_WEB_PASSWORD=admin" \
> -e "IPT_WEB_ADDRESS=:10001" \
> -p 10001:10001 \
> pretty66/iptables-web:1.1.1
Unable to find image 'pretty66/iptables-web:1.1.1' locally
1.1.1: Pulling from pretty66/iptables-web
2b55860d4c66: Pull complete
66059ac3f116: Pull complete
4ac3b75cf3ee: Pull complete
a05b735294e7: Pull complete
ab2cdc46b405: Pull complete
Digest: sha256:fd5dd5b492dff833b1c2dd3a06f136d67233da7d4e0f8ff0489f5077f3598183
Status: Downloaded newer image for pretty66/iptables-web:1.1.1
WARNING: Published ports are discarded when using host network mode
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
a129ccdf5fb9d8f6c0ca77187963d4f4859bfdb31bace4bff5fe6ebdb85cf1ae
能否永久保存到文件,不然添加规则后,都需要保存一下iptables-save > /etc/sysconfig/iptables
1 是否可以加上ipset支持
2 是否能去掉登录接口,方便集成到别的地方
按照教程部署好了,web页面也能打开,但是不展示任何规则,看docker日志也是空的
ERROR: for iptables-web "host" network_mode is incompatible with port_bindings
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 33, in
sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
command_func()
麻烦检查一下,谢谢。
可以做集群管理吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.