mirror of
https://github.com/chaifeng/ufw-docker.git
synced 2025-06-27 22:46:14 +02:00
Merge d4fd78196c
into 1a51b59cf8
This commit is contained in:
commit
a587f7a769
2 changed files with 3 additions and 3 deletions
|
@ -209,7 +209,7 @@ This script also supports Docker Swarm mode.
|
|||
Download `ufw-docker` script
|
||||
|
||||
sudo wget -O /usr/local/bin/ufw-docker \
|
||||
https://github.com/chaifeng/ufw-docker/raw/master/ufw-docker
|
||||
https://github.com/hkfires/ufw-docker/raw/master/ufw-docker
|
||||
sudo chmod +x /usr/local/bin/ufw-docker
|
||||
|
||||
Then using the following command to modify the `after.rules` file of `ufw`
|
||||
|
@ -517,7 +517,7 @@ UFW 是 Ubuntu 上很流行的一个 iptables 前端,可以非常方便的管
|
|||
下载 `ufw-docker` 脚本
|
||||
|
||||
sudo wget -O /usr/local/bin/ufw-docker \
|
||||
https://github.com/chaifeng/ufw-docker/raw/master/ufw-docker
|
||||
https://github.com/hkfires/ufw-docker/raw/master/ufw-docker
|
||||
chmod +x /usr/local/bin/ufw-docker
|
||||
|
||||
使用下列命令来修改 ufw 的 `after.rules` 文件
|
||||
|
|
|
@ -397,7 +397,7 @@ function ufw-docker--help() {
|
|||
|
||||
ufw-docker delete allow httpd
|
||||
ufw-docker delete allow httpd 80/tcp
|
||||
ufw-docker delete allow httpd 80/tcp default
|
||||
ufw-docker delete allow httpd 80/tcp default
|
||||
|
||||
ufw-docker service allow httpd 80/tcp
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue