Skip to content

Commit

Permalink
Also stop port 587, 465 (#1992)
Browse files Browse the repository at this point in the history
  • Loading branch information
muhamadazmy committed Jun 30, 2023
1 parent dc1f278 commit bd13633
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmds/modules/networkd/nft.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ nft 'flush chain inet filter forward'
nft 'flush chain inet filter prerouting'
# drop smtp traffic for hidden nodes
nft 'add rule inet filter prerouting iifname "b-*" tcp dport 25 reject with icmp type admin-prohibited'
nft 'add rule inet filter prerouting iifname "b-*" tcp dport {25, 587, 465} reject with icmp type admin-prohibited'
`)

if err := cmd.Run(); err != nil {
Expand Down

0 comments on commit bd13633

Please sign in to comment.