Admit a WireGuard listen port in the castrum table #53
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
help wanted
invalid
need info
need triage
need verification
not a bug
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
claudiomaradonna/castrum#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A host that terminates a WireGuard tunnel listens on a UDP port for the
peer's handshake.
firewall-applyrendersinet castrumwith an inputpolicy of drop, and admits only SSH and the ports of the service roles
switched on. No role opens a UDP port a host chooses, so the first
fortify.ymlrun on such a host drops the handshake and the tunnel goesdown. Where SSH itself runs over the tunnel, the host is then reachable
only from its console.
Check
A host can declare that it listens for WireGuard: the rendered table
then accepts new UDP packets on its listen port, and a host that
declares nothing gets a table without that rule.