Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nexus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
guillaum.pin
nexus
Commits
f68650d6
Commit
f68650d6
authored
8 months ago
by
Florent Gluck
Browse files
Options
Downloads
Patches
Plain Diff
Added comments to live_exam_os/config/boot_hooks/firewall
parent
02a8557f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
live_exam_os/config/boot_hooks/firewall
+7
-0
7 additions, 0 deletions
live_exam_os/config/boot_hooks/firewall
live_exam_os/config/packages.list.chroot
+1
-1
1 addition, 1 deletion
live_exam_os/config/packages.list.chroot
with
8 additions
and
1 deletion
live_exam_os/config/boot_hooks/firewall
+
7
−
0
View file @
f68650d6
...
...
@@ -4,13 +4,20 @@
firewall
()
{
# Block all incoming and outgoing traffic
ufw default deny incoming
ufw default deny outgoing
# Allow outgoing http and https traffic
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
ufw allow out from any to
$1
port
$2
# Allow outgoing ntp traffic
# ufw allow out from any to any port 123 proto udp
# Allow outgoing traffic to nexus VMs (Spice)
ufw allow out from any to
$1
port 1025:65535 proto tcp
ufw allow out from any to
$1
port 1025:65535 proto udp
ufw
enable
}
This diff is collapsed.
Click to expand it.
live_exam_os/config/packages.list.chroot
+
1
−
1
View file @
f68650d6
...
...
@@ -11,4 +11,4 @@ virt-viewer
firmware-iwlwifi
network-manager
network-manager-gnome
brightnessctl
#systemd-timesyncd
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment