Implement firewall zones #31

Merged
antman merged 3 commits from Implement-firewall-zones into main 2026-09-24 08:46:10 +00:00
Owner

Motivation

In order to use the server as a router we need to set up an interface with the external zone which automatically enables masquerading.

Solution

We look up the ethernet devices on the server and take the first two devices as the external and internal devices, respectively.

Adding a device to the external zone should activate that zone. The external zone has masquerading enabled by default.

Hopefully that should be everything we need to configure the server as a router! This will need to be tested on the physical prototype server rather than in a virtual machine.

### Motivation In order to use the server as a router we need to set up an interface with the external zone which automatically enables masquerading. ### Solution We look up the ethernet devices on the server and take the first two devices as the external and internal devices, respectively. Adding a device to the external zone should activate that zone. The external zone has masquerading enabled by default. Hopefully that should be everything we need to configure the server as a router! This will need to be tested on the physical prototype server rather than in a virtual machine.
setup firewall
Some checks failed
/ test-and-lint (push) Has been cancelled
c4250126cf
add services to correct zone
All checks were successful
/ test-and-lint (push) Successful in 3m59s
7b8ab902cb
Bump version number
All checks were successful
/ test-and-lint (push) Successful in 3m6s
86c0ed8603
antman scheduled this pull request to auto merge when all checks succeed 2026-09-24 08:43:58 +00:00
antman merged commit bda8b457e1 into main 2026-09-24 08:46:10 +00:00
antman deleted branch Implement-firewall-zones 2026-09-24 08:46:10 +00:00
antman referenced this pull request from a commit 2026-09-24 08:46:12 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kill-the-cloud/server-manager!31
No description provided.