diff --git a/ufw-docker b/ufw-docker index 5b98eef..c8ae7cc 100755 --- a/ufw-docker +++ b/ufw-docker @@ -180,6 +180,10 @@ function ufw-docker--help() { Usage: ufw-docker [docker-instance-id-or-name [port[/tcp|/udp]]] ufw-docker delete allow [docker-instance-id-or-name [port[/tcp|/udp]]] + + ufw-docker service [swarm-service-id-or-name [port[/tcp|/udp]]] + ufw-docker service delete allow [swarm-service-id-or-name [port[/tcp|/udp]]] + ufw-docker Examples: @@ -196,6 +200,15 @@ function ufw-docker--help() { ufw-docker delete allow httpd ufw-docker delete allow httpd 443/tcp + + ufw-docker service list httpd + + ufw-docker service allow httpd + ufw-docker service allow httpd 80 + ufw-docker service allow httpd 443/tcp + + ufw-docker service delete allow httpd + ufw-docker service delete allow httpd 443/tcp EOF }