{"id":13525787,"url":"https://github.com/pretty66/iptables-web","last_synced_at":"2025-04-04T16:14:30.942Z","repository":{"id":48523552,"uuid":"477326468","full_name":"pretty66/iptables-web","owner":"pretty66","description":"golang开发的iptables web 管理程序","archived":false,"fork":false,"pushed_at":"2024-04-22T04:12:20.000Z","size":756,"stargazers_count":566,"open_issues_count":3,"forks_count":96,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-03-28T15:07:33.433Z","etag":null,"topics":["go","go-iptables","iptables","iptables-go","iptables-management","iptables-ui","iptables-web"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pretty66.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-03T11:52:50.000Z","updated_at":"2025-03-13T13:23:45.000Z","dependencies_parsed_at":"2022-08-12T19:50:44.923Z","dependency_job_id":"2d1f773b-f315-452e-8901-41d9ae8c7967","html_url":"https://github.com/pretty66/iptables-web","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"dacbe77ba75e1f80b2c8a63c0dca1ab497ac13bf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty66%2Fiptables-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty66%2Fiptables-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty66%2Fiptables-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty66%2Fiptables-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pretty66","download_url":"https://codeload.github.com/pretty66/iptables-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208145,"owners_count":20901570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","go-iptables","iptables","iptables-go","iptables-management","iptables-ui","iptables-web"],"created_at":"2024-08-01T06:01:22.110Z","updated_at":"2025-04-04T16:14:30.922Z","avatar_url":"https://github.com/pretty66.png","language":"Go","funding_links":[],"categories":["防火墙","Go","HTML"],"sub_categories":[],"readme":"# iptables管理程序\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pretty66/iptables-web)](https://github.com/pretty66/iptables-web/blob/master/go.mod)\n### iptables-web是一个轻量级的iptables web管理界面程序，支持二进制文件直接运行及docker快速部署安装；整个程序打包完成后只有一个二进制文件，适合日常运维使用。\n![web](./docs/iptables-web.png)\n\n## 目录\n- [安装](#安装)\n- [License](#License)\n\n## 安装\n### docker部署安装（推荐）\n以docker形式部署注意要加两个参数`--privileged=true`，`--net=host`以特权模式运行，可以管理宿主机iptables规则\n```shell\ndocker run -d \\\n  --name iptables-web \\\n  --privileged=true \\\n  --net=host \\\n  -e \"IPT_WEB_USERNAME=admin\" \\\n  -e \"IPT_WEB_PASSWORD=admin\" \\\n  -e \"IPT_WEB_ADDRESS=:10001\" \\\n  -p 10001:10001 \\\n  pretty66/iptables-web:1.1.1 \n```\n- `IPT_WEB_USERNAME`: 网页认证用户名，默认：admin\n- `IPT_WEB_PASSWORD`: 网页认证密码，默认：admin\n- `IPT_WEB_ADDRESS`: 程序监听地址地址，默认：10001\n\n### 直接安装\n```shell\ngit clone https://github.com/pretty66/iptables-web.git\ncd iptables-web\nmake\n# 直接运行\n./iptables-server -a :10001 -u admin -p admin\n# 后台运行\nnohup ./iptables-server -a :10001 -u admin -p admin \u003e /dev/null 2\u003e\u00261 \u0026\n```\n\n### License\n\niptables-web is under the Apache 2.0 license. See the [LICENSE](./LICENSE) directory for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpretty66%2Fiptables-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpretty66%2Fiptables-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpretty66%2Fiptables-web/lists"}