Skip to content

Commit

Permalink
Update firewall.md
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn authored Aug 24, 2024
1 parent b5fb574 commit 2cbf816
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/firewall.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ ufw allow 80,443,3000


Also, if you are using Port Mapping to allow external connections, for example from your laptop to a MySQL instance on Captain, you will have to add the corresponding port to the exclusion as well.


NOTE:
Docker bypasses ufw for mapped ports. If you have manually added a mapped port for any of your apps deployed under CapRover, ufw does not necessarily block the ports. See the [relevant information here](
https://askubuntu.com/questions/652556/uncomplicated-firewall-ufw-is-not-blocking-anything-when-using-docker)

0 comments on commit 2cbf816

Please sign in to comment.