Skip to content

Commit

Permalink
#447 remove firewall rule
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeyer42 committed Mar 22, 2022
1 parent 7633954 commit e707137
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Removed
- Firewall rule for port 50051 from installation script (#447)

## [v20.04.3-1] - 2021-12-09
### Removed
Expand Down
3 changes: 1 addition & 2 deletions install/firewall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ function apply_firewall_rules(){
# set gateway network address dynamically so that this rules are always able to work after possible change of gateway network address
# allow communication to port 4001 used by etcd
ufw allow from "$(docker network inspect "${GW_NETWORK}" -f '{{(index .IPAM.Config 0).Subnet}}')" to any port 4001
# allow communication to port 50051 used by cesappd
ufw allow from "$(docker network inspect "${GW_NETWORK}" -f '{{(index .IPAM.Config 0).Subnet}}')" to any port 50051

ufw --force enable
}

Expand Down

0 comments on commit e707137

Please sign in to comment.