Skip to content
Snippets Groups Projects
Commit 279488c1 authored by Florent Gluck's avatar Florent Gluck
Browse files

Closed unused ports

parent a7c471b0
Branches
No related tags found
No related merge requests found
...@@ -7,9 +7,6 @@ firewall () ...@@ -7,9 +7,6 @@ firewall ()
# Block all incoming and outgoing traffic # Block all incoming and outgoing traffic
ufw default deny incoming ufw default deny incoming
ufw default deny outgoing ufw default deny outgoing
# Allow outgoing http and https traffic to nexus-server
ufw allow out from any to $1 port 80
ufw allow out from any to $1 port 443
# Allow outgoing traffic to nexus-server API # Allow outgoing traffic to nexus-server API
ufw allow out from any to $1 port $2 ufw allow out from any to $1 port $2
# Allow outgoing ntp and dns traffic # Allow outgoing ntp and dns traffic
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment