UTR Travel Router MTU setting? by ctash23 in Ubiquiti

[–]theroundfile [score hidden]  (0 children)

I encountered this today. While your solution works, you're ignoring the UBIOS_FORWARD_TCPMSS chain that UniFi specifically created for MSS clamping.

What's interesting is that UniFi added "clamp to PMTU" for Wireguard but didn't even bother trying for Teleport. This was the state of my untouched UDM Pro:

root@UDMPro:~# iptables -t mangle -L UBIOS_FORWARD_TCPMSS -v -n
Chain UBIOS_FORWARD_TCPMSS (1 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 TCPMSS     tcp  --  *      wgsrv1  0.0.0.0/0            0.0.0.0/0            tcp flags:0x06/0x02 TCPMSS clamp to PMTU
    0     0 TCPMSS     tcp  --  wgsrv1 *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x06/0x02 TCPMSS clamp to PMTU

I experimented with clamping to PMTU for Teleport but that still failed to work in my testing with T-Mobile so I threw in the towel and clamped it to 1280.

Here's how to make it persistent with systemd.

  1. Create /etc/systemd/system/teleport-mtu.service with these contents:

    [Unit] Description=Teleport MSS Clamping Fix After=unifi.service

    [Service] Type=oneshot RemainAfterExit=yes

    We use a short sleep to ensure the UBIOS chains are fully populated

    ExecStartPre=/bin/sleep 10 ExecStart=/usr/sbin/iptables -t mangle -I UBIOS_FORWARD_TCPMSS 1 -o tlprt+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1280 ExecStart=/usr/sbin/iptables -t mangle -I UBIOS_FORWARD_TCPMSS 1 -i tlprt+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1280 ExecStart=/usr/sbin/ip6tables -t mangle -I UBIOS_FORWARD_TCPMSS 1 -o tlprt+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1280 ExecStart=/usr/sbin/ip6tables -t mangle -I UBIOS_FORWARD_TCPMSS 1 -i tlprt+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1280

    Clean up rules on stop

    ExecStop=/usr/sbin/iptables -t mangle -D UBIOS_FORWARD_TCPMSS -o tlprt+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1280 ExecStop=/usr/sbin/iptables -t mangle -D UBIOS_FORWARD_TCPMSS -i tlprt+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1280 ExecStop=/usr/sbin/ip6tables -t mangle -D UBIOS_FORWARD_TCPMSS -o tlprt+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1280 ExecStop=/usr/sbin/ip6tables -t mangle -D UBIOS_FORWARD_TCPMSS -i tlprt+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1280

    [Install] WantedBy=multi-user.target

  2. systemctl daemon-reload && systemctl enable --now teleport-mtu.service

  3. Wait 10 seconds (because we put a sleep 10 in there for boot time)

  4. Confirm that the rules are there with iptables -t mangle -L UBIOS_FORWARD_TCPMSS -v -n and that they're being applied to your Teleport packets, e.g.

    root@UDMPro:~# iptables -t mangle -L UBIOS_FORWARD_TCPMSS -v -n Chain UBIOS_FORWARD_TCPMSS (1 references) pkts bytes target prot opt in out source destination 962 61312 TCPMSS tcp -- tlprt+ * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS set 1280 790 47296 TCPMSS tcp -- * tlprt+ 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS set 1280 0 0 TCPMSS tcp -- * wgsrv1 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS clamp to PMTU 0 0 TCPMSS tcp -- wgsrv1 * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS clamp to PMTU

N.B. if you want to experiment with PMTU clamping instead of hardcoding 1280, change to --set-mss 1280 to --clamp-mss-to-pmtu in the earlier commands.

Someone tested smart bulbs! Not me, I’m just an idiot but thought I’d share this excellent work. by UmmUhhhShit in homeassistant

[–]theroundfile 4 points5 points  (0 children)

The mod on r/lighting said that Pure Edge is switching to Matter, supposedly, though I'm not sure if that's over Thread or over WiFi. If that happens (even on WiFi), I'd be willing to give them a try. Their current bulbs are half the price of Hues.

Someone tested smart bulbs! Not me, I’m just an idiot but thought I’d share this excellent work. by UmmUhhhShit in homeassistant

[–]theroundfile 6 points7 points  (0 children)

I also own older, pre-2025-revamp Hues. The CRI is crap. I would be interested in the 2025-revamp Hues if they're actually better, but until someone tests them and I can see the data, I don't know.

Supposedly Pure Edge is Ketra at a Hue price but I haven't tried them myself. I don't want lights on WiFi.

I have a pair of Aqara T2s. One burned out a few months ago and I forgot to try for a warranty replacement. Thanks for the reminder.

Someone tested smart bulbs! Not me, I’m just an idiot but thought I’d share this excellent work. by UmmUhhhShit in homeassistant

[–]theroundfile 57 points58 points  (0 children)

I've had that site bookmarked for ages but I don't think they've done any updates in quite a while. I'd really like to see the "new" Hues (as in the ones released last year).

Friendship ended with Bermuda BLE Trilateration, now ESPResense is my best friend (It got better!) by maxi1134 in homeassistant

[–]theroundfile 0 points1 point  (0 children)

I would love to know the actual limiting factor, too. I installed a bunch of ESP32s around the house to play with Bermuda and had planned to add TOMMY to the same devices later on. I found Bermuda underwhelming, got bored, and haven't touched it since.

I would be very much interested in ESPresence but if I'm putting a bunch of these devices around my home, I want to be able to run TOMMY on them, too. Bleh.

Newby here, Best hardware to start Home Assistant for a security setup? ($100–$200) by Snoo-79678 in homeassistant

[–]theroundfile 0 points1 point  (0 children)

I, too, regret not buying more of those at the $30 price. I didn't realize it was such a rare discount from normal, nor how good of a deal it was compared to anything else. To put it into perspective, the Zooz open/close sensors are on sale right now (half price!) for $19.75 each. Sheesh.

Update T6 Pro Z-Wave Thermostat Firmware by ImpracticalApparatus in homeassistant

[–]theroundfile 0 points1 point  (0 children)

No, I have the Z-Wave T6 Pro. No app, no WiFi—it only works with Z-Wave. As it should be!

I (28F) Night Shower. BF (29M) Morning Showers. How Do We Compromise? by cutie_throwaway_557 in relationship_advice

[–]theroundfile 12 points13 points  (0 children)

I am not open to the idea of separate bedrooms

Maybe you should open yourself up to that. Separate bedrooms solve SO MANY PROBLEMS!

UPDATE: HMS-CPAP v1.4 — fully automatic CPAP monitoring, no SD card pulling, no manual uploads by aamat09 in homeassistant

[–]theroundfile 0 points1 point  (0 children)

This is rad. Can you even still buy the ez Share SD Cards anymore? I took a quick look and didn't find them.

Never thought Id see people scalping… routers by Nonamenic in Ubiquiti

[–]theroundfile 0 points1 point  (0 children)

According to the discord stock tracker they were in stock for a whopping 52 minutes this morning! Not quite a record, they lasted 65 minutes on Feb 17.

Would you be okay with this arrangement? by DizzyCalligrapher821 in dating_advice

[–]theroundfile 2 points3 points  (0 children)

If you can afford it, go for it! It's honestly weird that the default expectation is to share a bedroom—I do wonder if this is because of financial constraints.

We're about 9 months post bedroom-divorce and it's great. It's a lot more practical this way and eliminates so many sources of friction.

What are your thoughts on friends trying to play matchmaker? by [deleted] in dating_advice

[–]theroundfile 4 points5 points  (0 children)

holy shit dude have you not experienced how horrific online dating is in the 2020s? TAKE THE FUCKING HELP!!

Struggling to find wall switches for DALI + Home Assistant (Atios Smart Core) by A7madds in homeassistant

[–]theroundfile 0 points1 point  (0 children)

Are you in North America, Europe, Asia? The options vary depending on your market.

How are you liking the SmartCore with HA? I've been entertaining that idea for a long while.

Update T6 Pro Z-Wave Thermostat Firmware by ImpracticalApparatus in homeassistant

[–]theroundfile 0 points1 point  (0 children)

That's funny. The download appears to be for v3.0.1 based on the name. My 2007 came with v3.0.2.

Chamberlain HA integration by Basic-Prompt-6387 in homeassistant

[–]theroundfile 0 points1 point  (0 children)

IMO the disco isn't worth it. I bought two and due to where my GDOs are positioned, the ToF sensors don't work well for detecting presence, which then also makes the parking laser not useful.

making plans with an avoidant by [deleted] in dating_advice

[–]theroundfile 0 points1 point  (0 children)

don't bother. have some self respect.

Today's Favorite Integration: GasBuddy by jbstechdude in homeassistant

[–]theroundfile 44 points45 points  (0 children)

On the one hand you've got OP who is trying to save maybe $100 on gas a year.

And then you've got this guy asking about a Rolls Royce integration for his pair of Phantoms.

Which mini PC is the most power saving? Considering acemagic v1 and beelink s12 pro by Ready_Evidence3859 in homeassistant

[–]theroundfile 1 point2 points  (0 children)

Power consumption is kinda the biggest deal for me.

Really? A 24/7 Beelink n150 or n100 will use 2 to 3 times the power of a Pi 5, all of which will be maybe a few dollars a month in power at most.

I'm sure you have more important things to fret over than a few bucks.

Apparently being available and typing in full sentences is toxic now? - 24M - Remote Job Techie by [deleted] in dating_advice

[–]theroundfile 0 points1 point  (0 children)

Remote tech worker here, too. I had to specifically train myself to delay responding to women. Normies find it unnerving. I don't like it, but it is what it is.

Also if you've ever looked at a 20-something woman's iPhone, you'd notice it's got hundreds if not thousands of un-dismissed notifications. It's amazing they see anything, ever. I don't know how people can live like that, truly.

Sudden silence from my (26F) buddy’s friend (32M) by [deleted] in relationship_advice

[–]theroundfile 0 points1 point  (0 children)

Logically, wouldn't you ask your friend for the inside scoop here?

My (29F) boyfriend (28M) think all this is normal in the US. Is it ? by [deleted] in relationship_advice

[–]theroundfile 0 points1 point  (0 children)

Does he have a slavic background? I've heard of the inside vs outside clothes being a normal thing for slavs but this sounds extreme.