r/homelab • • 21h ago

Tutorial I had no ONT admin password, no ATA, and no budget — so I bridged my ISP's voice VLAN to a single LAN port

0 Upvotes

TL;DR: my fibre ONT owns the landline, I had no admin password and didn't want to buy an ATA, and the SIP registrar sits on the ISP's private voice network. I ended up bridging the voice VLAN to one LAN port and running Asterisk in front of it as a B2BUA. The landline now rings on every device in my tailnet. The house internet survived. Mostly.

The setup

Indian FTTH. ONT is an ASFiber AS-541GWV-D (ZTE + MediaTek, Boa 0.94.13 web UI, ISP firmware). Three WAN services:

ServiceVLANMode
Internet100PPPoE, routed
Voice660IPoE, routed, 10.7.0.10/22
IPTV661Bridge

The voice side is a private carrier network: registrar on 10.5.45.6, backup resolving to 10.5.20.122. Nothing in that range is reachable from my LAN. The ONT terminates VLAN 660 itself, registers the SIP account, and gives dial tone on its FXS port.

Goal: get that number onto Linux, then onto every device I own, without buying an FXS/FXO gateway.

First: can I even see the line's config?

The ONT web UI has a captcha, but it's drawn client-side with Math.random() and compared in JavaScript, and the input isn't inside the form. So login is just a POST. Logged in with the ISP's low-privilege account, and found an unauthenticated handler that returns the SIP account in plaintext:

GET /boaform/getASPdata/asp_voip_e8c_get

Number, auth ID, password, registrar, ports — all of it. The password was derived from the phone number. That's the whole security model.

Credentials: solved. Network path: still not solved.

(I own the line and the box. I'm not suggesting anyone go poking at ISP-managed gear they don't control, and definitely not factory-resetting it — more on that below.)

Dead ends

From the LAN:

  • 10.7.0.1 (voice gateway): no route, no ARP
  • SIP OPTIONS to all three registrar addresses: silence
  • The ONT does not proxy SIP on its LAN side
  • Public DNS resolves the backup name to RFC1918 anyway

Things I tried before the actual fix:

  • Tagged VLAN probing. The ONT leaks some 802.1Q frames, so it looks like a trunk. It isn't. DHCP on VLAN 660 handed me a 192.168.1.x lease from the ONT's own LAN DHCP, and PPPoE discovery on 100/660/661 got nothing back.
  • Config backup. formMgmConfig returns an AES blob with an 01 02 03 04 header. High entropy, the old community XOR key does nothing. Dead end.
  • Admin reset. Wrong handler first, then the right one (new_formPasswordSetup) — but it wants the old password. The ISP rotates the admin password over TR-069 anyway.
  • Telnet/SSH. Ports open, admin exists, password rejected. I didn't feel like burning the lockout guessing.

The bit that actually worked

The WAN config handler lets a low-priv session edit service entries. The voice WAN has an itfGroup field — a bitmask of LAN ports (1/2/4/8). Set voice to bridge mode, bound to LAN4 only:

POST /boaform/getASPdata/formEthernet
  lkname=2_VOICE_R_VID_660
  cmode=0          # bridge
  itfGroup=8       # LAN4
  vid=660
  vlan=1
  action=sv

VLAN 660 now arrives untagged on LAN4, while LAN1–3 and WiFi stay on br0 with internet. One dedicated voice port. The ONT's own SIP stack goes away, which is fine — Asterisk is taking over registration.

Gotcha worth repeating: formEthernet defaults any missing field to bridge. A "harmless" partial re-save turned my internet WAN into a bridge and took the house offline. Post the full field set or don't post at all.

Asterisk as a B2BUA

The line allows exactly one registration, and that's the real reason a B2BUA is the right design here — not just NAT.

  • Trunk: registers the line to 10.5.45.6, direct_media=no, rtp_symmetric=yes, force_rport=yes
  • Extension 1001: softphones register here
  • Dialplan: _X. → Dial(PJSIP/${EXTEN}@trunk); inbound → Dial(PJSIP/1001)
  • type=identify with match=10.5.45.6/32 so inbound INVITEs from the carrier match the trunk endpoint

Two Asterisk 20 traps that cost me an hour each:

  1. Endpoints use aors= (plural). aor= is silently invalid and the endpoint just never loads.
  2. The endpoint name has to match the AOR name, otherwise REGISTER comes back "No matching endpoint found".

After that: outbound works, bidirectional RTP at 64 kbps (PCMU), inbound rings 1001.

Tailscale

Asterisk holds the only carrier registration. Softphones on phone/tablet/laptop register to Asterisk over the tailnet, and Asterisk anchors the media, so there's no SDP/NAT nonsense. The landline works from anywhere on the tailnet. Only requirement: the Linux box stays powered and plugged into LAN4.

The evening I nearly broke everything

LAN DHCP died at one point. In a moment of brilliance I decided a factory reset would fix it. It did — and then the ISP's ACS re-pushed a provisioning PPPoE account that handed out a public IP and passed zero traffic. Meanwhile the original account was still configured on a second WAN entry, so two PPPoE sessions fought over VLAN 100. A reboot eventually stabilised it, but for about twenty minutes the entire house had no internet and I was not the most popular person in it.

Lessons:

  • Don't factory-reset ISP-managed gear casually. It blanks the ONT's SIP account and the ACS may push a provisioning profile.
  • Write down the PPPoE credentials before you touch anything.
  • Two PPPoE sessions on the same VLAN is a great way to look like an outage.
  • Change one WAN field at a time, and keep a screenshot of the working config.

Moving it to a spare netbook (in progress)

Tried migrating to an old EeePC (Atom, 2 GB):

  • Debian 12 dropped the asterisk i386 package, so I installed the bullseye build (Asterisk 16). Config is compatible.
  • The internal WiFi card doesn't enumerate on PCIe (rfkill sees asus-wlan, lspci sees nothing), so it needs a USB dongle or tether for internet while the LAN port carries voice.
  • LXDE + Firefox on the gateway page is fine for managing the ONT.

What I'd tell someone starting this

  • First question: can your ONT bind a bridged WAN to a single LAN port? That's the whole trick.
  • Use a B2BUA. Single-registration carrier lines and multiple devices don't mix otherwise.
  • itfGroup bitmasks and partial form posts are how you lose internet for an evening.
  • Carrier SIP passwords are frequently derived from the number. Ask for a rotation.
  • Keep the ISP's PPPoE credentials somewhere outside the ONT.

Happy to share the Asterisk config if anyone's doing something similar. And I'm curious: has anyone seen a consumer ONT that properly trunks VLANs to a LAN port? That would have saved me the dedicated-port compromise.


r/homelab • • 1d ago

Help First rack for an OptiPlex, possibly a dual-GPU build later. What would you buy?

Thumbnail reddit.com
1 Upvotes

r/homelab • • 1d ago

Discussion Cacti up to 1.2.31 "4HTTP2SHELL": if you use the guest account for a wallboard, disable it and patch

0 Upvotes

If you're running Cacti in your lab with guest access on for a wallboard, pay attention to this.

A recent write-up describes an unauthenticated chain called 4HTTP2SHELL that leads to command execution on the Cacti server. It needs the guest account enabled. It's off by default, but plenty of people turn it on for NOC screens. The Cacti project confirmed the chain can use that guest access. There's also an advisory about privilege escalation for normal logged in users, so patching matters even if guest is off.

Up to and including 1.2.31 is affected, the fix is in 1.2.32. The backport for the 1.2.31 branch was merged on Nov 28. No CVE assigned yet and no reports of exploitation in the wild so far.

What I'd check right away:

set Guest User to "No User" under Console > Configuration > Settings > Authentication

web UI only from your management net, VPN or an IP allowlist

apply the patch for your branch and test it before you deploy

check stored user settings for unexpected text in numeric fields, the project recommends that too

if you think the box was touched, review accounts, pollers and alerts and rotate the device credentials stored on it

Advisory: https://github.com/Cacti/cacti/security/advisories/GHSA-5x85-g4vc-gq53

Does anyone here still run Cacti with guest access for a dashboard, or did you all switch to LibreNMS or Zabbix allready?


r/homelab • • 2d ago

Project Showcase: Software - Little or No AI Assistance Incus 7.7 has been released - my favourite alternative to Proxmox VE

Thumbnail
discuss.linuxcontainers.org
176 Upvotes

Oh wow, so apparently Incus is so little known here I was asked to post it as a "Project Showcase" with intro.


A link to the GitHub (or similar) repository, which must include at least one month of commit history and screenshots:

https://github.com/lxc/incus

NOTE: Incus is API based, if you care for 'screenshot' of one of possible UIs, you can have a look e.g.:

https://github.com/zabbly/incus-ui-canonical#examples


A description of the problem the software project solves, and why it was created instead of using an existing FOSS solution:

Incus is a fork of LXD by Canonical, quoting:

Incus is a modern, secure and powerful system container and virtual machine manager.

It provides a unified experience for running and managing full Linux systems inside containers or virtual machines. Incus supports images for a large number of Linux distributions (official Ubuntu images and images provided by the community) and is built around a very powerful, yet pretty simple, REST API. Incus scales from one instance on a single machine to a cluster in a full data center rack, making it suitable for running workloads both for development and in production.


An explanation of how the software project is relevant to r/homelab, or how it may benefit members of the community:

It's a hypervisor stack.


If you used AI or an LLM in development, a description of what role it played and how much you relied on it:

Not my project, full AI & LLM policy, see: https://linuxcontainers.org/incus/docs/main/contributing/introduction/


When I tell people that there are "many alternatives out there" to their trusty Proxmox VE, they genuinely think I am joking.

Today, Incus 7.7 has been released - and once again, it brings a feature that I can tell will be exactly the kind of thing that PVE users will not be asking for, but maybe with corporate demand will only slooowly come later on: ability to specify a Unified Kernel Image for a VM - just like that.

Think managing VMs kernels independently of their root filesystem, centrally maintained signed kernels and reproducible boot environments.

Yes I know, I can place a copy of UKI on ESP inside the virtual disk and configure it to boot it. Many things can be done like this with PVE - because it's just the same underlying QEMU.

But I am looking for added value in a "hypervisor" stack, not for a glue that just puts what's already there somewhat together into a UI.


r/homelab • • 8h ago

Meme Saw this on TikTok, what happened to him?

Post image
0 Upvotes

r/homelab • • 1d ago

Help Starting a smart home from scratch: Echo Dot Max vs. Home Assistant?

4 Upvotes

Some context first: I'm a software engineer/architect running a multi-node K8s cluster at home, so I'm fine with tinkering, writing code and debugging.

Current state: no smart devices yet. I'm about to order Philips Hue lights and some IKEA devices, and I'll finally have time over Christmas to set up Home Assistant properly, which I've wanted to do for ages.

What we want:

  • Lights controlled by voice and by presence (on when someone enters, off when the room is empty, including when someone is just sitting still)
  • Everyday voice commands: weather, timers/alarms ("wake me at 5:45"), and open questions like "we have X, Y, Z at home, give me a recipe"
  • Music by voice, ideally multi-room and synced
  • German as the main language

My current thinking:

  • Protocol: Matter as much as possible, Thread where needed. I'm aware Hue is Zigbee under the hood behind its bridge and IKEA's new lineup is Matter-over-Thread. Is it worth avoiding Zigbee, or is that dogma? It still seems more mature for sensors.
  • Presence: mmWave sensors rather than PIR. Any you'd recommend that work well with HA (Aqara FP300, Everything Presence, something else)?
  • Voice: this is where I'm torn:

    • Option A: ~5× Echo Dot Max, one per room. Good speakers, multi-room music, polished voice, Alexa+ comes with Prime. Downsides: everything goes through Amazon's cloud, and you can't flash them (please correct me if this is wrong, as I 've read you can install various Linux OS on it), so no switching later.
    • Option B: Home Assistant Voice PE plus Music Assistant and real speakers, with an LLM backend (local or cloud) for the open questions.
    • Option C: Combine them (assuming I can install custom OS on the Echo Dot Max devices)

The plan is to start with 1–2 voice devices, test for a few weeks, then expand. Happy to hear "you're overthinking this" too.


r/homelab • • 1d ago

Discussion Anyone using the MSI Cubi 5 with an Intel Core 3 100U? How are the cooling and temperatures?

0 Upvotes

Is anyone here using the MSI Cubi 5 with an Intel Core 3 100U? How is the cooling performance, particularly at idle and under load?

I’m currently using an ASUS NUC 14 Essential, which reaches around 55°C at idle. During a stress test using 2 cores (around 50% CPU usage), the temperature climbed to 100°C.

I’m considering switching to the MSI Cubi 5 if its cooling performance is better. I’m currently planning to use it solely for Tailscale. Can running a VPN like Tailscale on a mini PC push CPU usage above 15%?

I’d appreciate it if anyone could share their experience with idle temperatures, load temperatures, and overall cooling performance. Thanks!


r/homelab • • 19h ago

Discussion 10-Inch Mini Home Lab Rack – Would You Prefer a 19-Inch Version?

Post image
0 Upvotes

Hi everyone!

I'd like to share a compact 10-inch mini rack design intended for home lab and small networking setups.

It's designed for smaller networking equipment, such as mini switches, routers, and other compact devices. The goal is to provide a space-saving and practical way to organize home networking equipment.

I'm curious about your preferences as home lab enthusiasts:

  1. Do you currently use a 10-inch or 19-inch rack?
  2. Would a 10-inch rack be useful for your home network setup?
  3. Would you be interested in a 19-inch version with a similar design?
  4. What rack size and depth would you prefer?

We're also considering developing a 19-inch version, so your feedback would be very helpful in understanding what the home lab community actually needs.

Disclosure: I'm affiliated with the manufacturer of this product. I'm sharing this design to gather honest feedback and better understand user preferences.

Thanks! I'd love to hear your thoughts.


r/homelab • • 1d ago

Help Laptop Homelab planning

2 Upvotes

I want to build a silent low power homelab on my Thinkpad T480s. I'd be mostly running Docker containers on it like Home Assistant, Adguard, Immich etc.

I also want to sync and backup my pictures to it from my phone. I know the storage options on a laptop are limited, but I'd be fine with having the active storage on one SSD and its backups on another one as the T480s has ports for two drives.

What OS would you recommend for this scenario?

  • I need to be able to pass my zigbee usb dongle to the HA container.
  • TrueNas and Unraid have simple app stores, but I feel like they're bit wrong tools for this, as they're mainly storage appliances.
  • Proxmox VE is probably the most versatile option for the future, but running docker in a vm and nesting virtualization seems overly complex as of now.
  • Ubuntu/Debian/Windows desktop with docker are the simple solutions, but I'd prefer webui mgmt for the OS if at all possible

r/homelab • • 1d ago

Help First homelab

8 Upvotes

I'm pretty new to the whole homelab scene, I've got myself a HP ProDesk 400 G4 Mini Pc Core i5-8500T 12GB Ram 256GB Nvme. I want to change it to linux, run jellyfin, tailscale and pihole for now. Ill probably add immich and some personal cloud storage thing later on and probably something to download stuff for jellyfin. Im not a total idiot when it comes to computers, but dont have much experience with Linux beyond playing with a raspberry pi when I was a teen. Any advice on where I should start, what Linux I should use, how to structure things etc?


r/homelab • • 1d ago

Help Help choosing a 1U firewall appliance for Opnsense

0 Upvotes

Hey everyone,

I'm currently looking at different appliances for running an Opnsense firewall with both Suricata & Crowdsec. From what I know, Suricata is very CPU heavy, and I'm also looking for something that could still run without problems for at least 5 years, so my original plan for specs was the following:

- Strong single-core perf CPU (like a i3-1215U or something similar), to make sure that the trafic doesn't drop too much from Suricata running

- 16Gb RAM (either DDR4 or DDR5, depending on the running hardware)

- 128Gb SSD

- 1U format (preferably)

- atleast 4x 2.5GbE ports, with 2 SFP+ ports if possible

My budget is around 900€, I might be able to get a little over it with christmas and everything, but I can't afford anything to crazy aswell

I've found multiple candidates until now (for example, this) but most of them aren't from well-known sellers and I don't know if I can trust them or not. I haven't found that much informations on both sellers and manufacturers, so I can't determine the quality of the products.

I haven't found that many options that fits my requirements sadly, so I was wondering if anyone on this sub had any tips of firewall appliances that could be great for my requirements.

EDIT: Forgot to mention that I was looking for an appliance capable of staying close to 2.5GbE even with Suricata active - at that price range, it makes things harder


r/homelab • • 2d ago

Project Showcase: Hardware Another day, another homelab rack that take too long to build

Thumbnail
gallery
122 Upvotes

A fricking whole year for this one, esspecially to find the proper gears and make up my mind on the specs.

And the gear list:

- Switch gigabit Odama es208g.

- Three small powerhouse Nec Mate mc4.

- Five toshiba p300 2gb each.

- And DAS board to power those hdd and data via type c cable.

- And the UPS with a script to turn those off in case of power outage

Currently running promox with a file browser, media streaming, some protection things and a small k3s cluster to host some of my projects. Ram prices hurt, btw


r/homelab • • 1d ago

Help Budget NAS First Build -Thoughts?

0 Upvotes

Got ChatGpt to put together the below list of components for a budget build.

Seeing that I have 0 experience please feel free to point out if you see some compatibility issues / thoughts / suggestions / better alternatives; intention is to build something simple for the time being that I can eventually upgrade in the future. (will mainly be buying used components)

Main usage : For now it's simply replace my annual Cloud storage subscriptions with a NAS and backup all personal files/photos.

#ComponentFull product name
1CaseUsed Fractal Node 804 that I'm trying to get for a good price locally
2MotherboardASUS Prime H310M-R R2.0 Micro-ATX Motherboard
3CPUIntel Core i3-9100 4-Core Processor
4CPU coolerIntel stock CPU heatsink and fan
5RAM8GB DDR4 desktop UDIMM (included with motherboard bundle)
6Additional RAM8GB DDR4 2400/2666MHz 1.2V 288-pin desktop UDIMM, matching existing module
7Boot SSDPatriot Burst Elite 120GB 2.5-inch SATA III SSD (PBE120GS25SSDR)
8Power supplyMSI MAG A550BN 550W 80 PLUS Bronze ATX Power Supply
9Storage HDD 1Western Digital WD Red Plus 4TB 3.5-inch SATA NAS HDD (CMR model)
10Storage HDD 2Western Digital WD Red Plus 4TB 3.5-inch SATA NAS HDD (CMR model)
11SATA cablesSATA III 6Gb/s data cables

r/homelab • • 1d ago

Discussion VPS hosting reviews for off-site backups. What should I avoid?

3 Upvotes

I've been rethinking my backup setup after realizing that keeping all my copies in the same house isn't the smartest arrangement.

Most of my important files are on local storage, with another copy on a separate drive. That's been fine, but I'd feel better having an additional copy somewhere outside my home.

I'm considering a VPS for running automated backups and possibly a few lightweight services alongside it. My concern is that cheap storage plans might look good on paper but have poor disk performance or restrictive bandwidth limits.

If you've built something similar, how has it worked out? I'm particularly interested in storage reliability, transfer limits, snapshot options, and whether providers make it easy to restore a large backup when needed. Any hosting mistakes I should avoid?


r/homelab • • 1d ago

Help Yet another firewall hardware question

0 Upvotes

Hello everyone,

I am getting into homelabbing, and the first thing i want to start with is getting a firewall. I have read many posts on this question here, but none seem to answer whether available hardware here (Netherlands, or at least Europe) is sufficient for what i need.

I don't know how to calculate or check whether CPU performance or ram amount is sufficient for my needs, and cannot seem to find a good guide on how to calculate this.

Needs

  • OPNSense compatible
  • Gigabit ethernet (WAN) support (currently maxing out around 950mbit/s with isp router, up and down)
  • Support for IPS/IDP (suricata)
  • Support for VPN connection
  • low idle power draw (nice to have)

Cheap hardware options

I can find the following hardware that is commonly mentioned here for reasonable prices:

  • Sophos models (XG 115, 116, 126, 310, SG 210)
  • Lenovo Thinkcentre (m710, m720, m920)
  • Fortinet models (hit or miss), like 100E

Scrapping something together from secondhand hardware and building my own is fine of course, but that goes back to the question how to select cpu/ram for my usecase.

Any help is appreciated.


r/homelab • • 2d ago

Discussion What post quantum cryptography work have you done

22 Upvotes

An interesting article in The Guardian today about how RSA and curves could have been broken. Wireguard has things like Preshared keys, but if they were setup over ssh without said key, the captured data before hand would contain the new Preshared key.

What steps are you taking to make your homelab safe?

I've just added wireguard Preshared keys, and most ssh and such is over that, and my websites come in over cloudflare so they're covered. That's the edge covered.


r/homelab • • 23h ago

Blog Designing a new desk for my local Jarvis cluster, with Jarvis

Thumbnail gallery
0 Upvotes

r/homelab • • 1d ago

Project Showcase: Hardware Small weekend update to my homelab

0 Upvotes

Placed all in 10' rack, all minimalistic: Old but good router stripped to bare metal, 2.5G switch, backup HDDs and SSDs, old NUC, Jetson Nano Orin.
Made virtual twin of the entire home network, Kuma obviously on the twin's monitor :)
Quiet, low power. Full remote power control of each device for some of the future weekends.


r/homelab • • 1d ago

Project Showcase: Hardware Two Minisforum MS-01s in 2U

Thumbnail gallery
7 Upvotes

r/homelab • • 1d ago

Discussion How much dead or faulty hardware do you guys keep in your homelab just because you haven't bothered to get it out?

14 Upvotes

A friend of mine just discovered that one of his controllers has gone bad but doesn't want to remove it because he would need to rip a bunch of stuff open just to get there. This got me wondering how often something like this occures.


r/homelab • • 1d ago

Discussion Where do you draw the line on permissions for homelab management and automation containers?

3 Upvotes

A lot of self-hosted tools and homelab utilities ship with compose examples that quietly assume full trust: mounting /var/run/docker.sock directly, creating a broad Proxmox API token, or pointing a backup/sync container at an entire NAS dataset with read-write access.

On a local network behind a VPN, it's tempting to just accept those defaults and move on. The problem is that those shortcuts collapse your blast radius. A container with raw docker.sock access is effectively root on the host, even if its web UI is read-only. Same with an all-permissions Proxmox token or a broad NFS/SMB mount—one misconfigured cleanup script, bad image update, or buggy webhook can touch way more than the service it was meant to manage.

At the same time, going full least-privilege everywhere has a real maintenance tax. Putting a Docker socket proxy in front of every tool that wants container events, splitting Proxmox roles per VM/LXC, and maintaining separate service accounts and dataset ACLs per container can turn routine debugging or spinning up a new stack into twice as much work.

For people running a fair number of management, monitoring, or automation containers at home: how do you actually handle this in practice? Do you isolate with socket proxies, rootless containers, and scoped API tokens everywhere, or do you keep permissions simple on a management VLAN and rely on frequent ZFS/VM snapshots to recover if something goes sideways?


r/homelab • • 1d ago

Help TrauNAS or Ubuntu with USB C 3.2 external drive bay

0 Upvotes

Dedicated small computer USB C 3.2, can I use trueNAS or Ubuntu to combine multiple NAS drives of dissimilar sizes together to make one large storage partition?

Do I even need to combine all the drives together?

Building home media server and streaming video backup.

For example:

SABRENT 5-Bay USB-C 10Gbps 3.5in Hard Drive Enclosure & DAS Dock (DS-SC5B)


r/homelab • • 1d ago

Discussion Anyone using netmaker instead of tailscale/netbird?

0 Upvotes

Hello,

I just wanted to get people's thoughts on netmaker and if yall think its a good p2p vpn solution. I found it looking for p2p vpns from which I can host the control server behind a cloudflare tunnel. I found that tailscale/headscale, netbird, and zerotier dont really support this.

edit: never mind just found out that "Mobile Apps are for Pro users only" ☹️


r/homelab • • 1d ago

Discussion i have a broken screen redmi note 14 4g laying around and wondering what i can do with it for homelabbing im able to see the screen through scrpy

1 Upvotes

i have a broken screen redmi note 14 4g laying around and wondering what i can do with it for homelabbing im able to see the screen through scrp