diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-31 14:01:29 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-31 14:01:29 -0500 |
| commit | d309c773eac0592f253f1f08c54d115acb921d82 (patch) | |
| tree | 89fff2eb64e58a22a7050da96c4547551e1b6b62 | |
| parent | 39970b462c8198220f33ef7323725982723d2233 (diff) | |
| download | archsetup-d309c773eac0592f253f1f08c54d115acb921d82.tar.gz archsetup-d309c773eac0592f253f1f08c54d115acb921d82.zip | |
feat(firewall): open mosh UDP port range in ufw rules
archsetup installs mosh, but the ufw rule list never opened its UDP range. A fresh install or rerun leaves incoming mosh blocked until the port is added by hand. I added 60000:61000/udp to the declarative rule loop so the firewall config reproduces a working mosh setup on rebuild.
| -rwxr-xr-x | archsetup | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1283,6 +1283,7 @@ EOF "42000/tcp" "42000/udp" \ "42001/tcp" "42001/udp" \ "5353/tcp" "5353/udp" \ + "60000:61000/udp" \ "transmission" \ ; do # IMAP/IMAPS: Thunderbird email client @@ -1291,6 +1292,7 @@ EOF # 42000/tcp,udp: Warpinator file transfers # 42001/tcp,udp: Warpinator registration/auth # 5353/tcp,udp: mDNS/Avahi local network discovery + # 60000:61000/udp: mosh roaming SSH sessions # transmission: BitTorrent client action="adding ufw rule to allow $protocol" && display "task" "$action" (ufw allow "$protocol" >> "$logfile" 2>&1) || error_warn "$action" "$?" |
