Just some Internet guy

He/him/them đŸłïžâ€đŸŒˆ

This profile is from a federated server and may be incomplete. View on remote instance

Max_P , to homelab in Optimizing a WiFi Network
@Max_P@lemmy.max-p.me avatar

I get about 350-400 both ways which AFAIK is what my Unifi AC-Lite tops at since it's WiFi 5 and it's only got 2 antennas and tops at 80MHz channels. I get about 200-250 on my phone (1+8T) which I think is single stream.

Everything indicates me that's as best as it can be with the set of hardware I have. Signal is solid, latency is solid.

You'll need 802.11ax and/or more MIMO streams to get higher speeds, and/or 160MHz/320MHz channels.

Max_P , to Work Reform in Greece introduces the six-day work week
@Max_P@lemmy.max-p.me avatar

So what's stopping the workers from saying no? If they have labor shortages then the job market should be favorable to the workers as you gotta be the most attractive employer, which would be those that don't abuse that law and overwork their employees. It's not like they can force people to work.

Or just go anywhere else in the EU.

Max_P , to KDE in Are you ready? Plasma 6.1 drops tomorrow at 10am UTC.
@Max_P@lemmy.max-p.me avatar

There's a bug with explicit sync? I'm running patched KWin 6.0.5 and no issues whatsoever with Firefox.

Max_P , to U.S. News in She was sentenced to prison for voting. Her story is part of a Republican effort to intimidate others.
@Max_P@lemmy.max-p.me avatar

Felons should be able to vote, even while in prison. Otherwise you just have to make sure your political opponents are all charged with a felony and skew and keep skewing the results because those people can never vote to potentially make their crime no longer a crime.

Like, if they ever make it a crime to be gay, now they've basically also stopped gays from being able to vote on the issue. That's not good democracy.

Max_P , to Work Reform in Wage theft now outnumbers all other types of theft in the U.S., reaching $482 million
@Max_P@lemmy.max-p.me avatar

The page just deletes itself for me when using that. It loads and .5 second later it just goes blank. They really don't want people to bypass it.

Max_P , to Work Reform in Wage theft now outnumbers all other types of theft in the U.S., reaching $482 million
@Max_P@lemmy.max-p.me avatar

Paywalled medium article? I'll pass.

Fuck employers that steal from their employees paychecks though.

Max_P , to Fediverse in Kbin /m/fediverse is over 90% spam
@Max_P@lemmy.max-p.me avatar

The guy that manages Kbin has been having personal issues and stepped away from the fediverse so yeah Kbin is kind of in limbo at the moment and indeed not well moderated. There's mods but there's just so much they can do. The software doesn't federate the deletions so even if they're gone on Kbin, they remain everywhere else.

Max_P , to Fediverse in Yeah um...what future...
@Max_P@lemmy.max-p.me avatar

Kbin is not currently maintained due to the guy that makes it having personal issues and not having time to keep up with it. Some instances are even defederating kbin due to spam not being cleaned up and also some bugs sending the same activities over and over again.

No spam on my end on Lemmy.

Max_P , to KDE in KDE Neon using tmpfs for /tmp seems like an horrible idea?
@Max_P@lemmy.max-p.me avatar

It's default since systemd afaik. I think systemd-tmpfiles manages this. It's never been a problem for me, it pretty much remains fairly empty most of the time. Most things like sockets are in /run which is also tmpfs.

Max_P , (edited ) to homelab in Could someone explain these OpenWRT LuCI firewall settings to me? I am having trouble interpereting what they are saying exactly.
@Max_P@lemmy.max-p.me avatar

That works too. Ultimately they’re all NAT, that’s why they’re in the NAT table to begin with. Masquerade specifically is to rewrite the traffic as if it was originating from the router itself, which can be useful if you don’t know which interface it’ll go out, you just want it to NAT no matter where. SNAT just rewrites the source address so it’s a bit less smart. There’s also DNAT to rewrite where the packet will go. It’s not just addresses either, you can rewrite ports too. There’s also REDIRECT.

Just different ways of doing similar things, but they’re all doing network address translation. For OpenWRT’s purposes it is indeed what everyone thinks of a NAT, the most simple and common one. Past that a GUI becomes more of an annoyance than a feature anyway, so might as well go for scripts or at least raw iptables rules.

There’s also the whole connection tracking system on top of the firewall rules. If you’re clever you can make a load balancer right in iptables, since connection mappings will stick. You don’t have to always rewrite it the same for every packer.

Max_P , to homelab in Could someone explain these OpenWRT LuCI firewall settings to me? I am having trouble interpereting what they are saying exactly.
@Max_P@lemmy.max-p.me avatar

That’s not quite what masquerade does. Masquerade enables NAT, essentially.

Without masquerade, the router would send packets out like 192.168.0.109->8.8.8.8 and your ISP would be like “what is that IP I don’t know how to route that”. With masquerade on, the router remaps it to its own WAN IP so you have like 3.16.87.54->8.8.8.8, your ISP can handle that, and when the reply comes back, the router then switches it back to the correct internal IP.

Max_P , to homelab in [WORKAROUND] Nextcloud portforward stops working when it is moved to a bridged network
@Max_P@lemmy.max-p.me avatar

Erm, okay that’s not looking promising. It’s starting to look like Router A doesn’t like this setup at all. It’s not routing B’s traffic, possibly because it’s not the subnet it expects to serve. Ugh. Check all the options you can in Router A if you can find something that will allow it to work.

You can fairly easily test that by enabling masquerading on B. It’ll break most of what we just set up but it’ll confirm that.

We still have some options on the OpenWRT side to make it masquerade only public traffic but now I’m wondering if A will even let you port forward to something on B. I would try that now and see if it works.

Is A able to ping B and devices on B, or only on A? A itself has a route for B’s subnet right?

Max_P , to homelab in [WORKAROUND] Nextcloud portforward stops working when it is moved to a bridged network
@Max_P@lemmy.max-p.me avatar

Interesting, lan zone doesn’t allow forward from wan but wan does allow both ways, maybe that’s the one missing. I expect OpenWRT to wire it up both ways automatically
 OpenWRT is a mystery sometimes.

Actually no, both show unspecified. You need both zones to allow both ways from the other zone.

Max_P , (edited ) to homelab in [WORKAROUND] Nextcloud portforward stops working when it is moved to a bridged network
@Max_P@lemmy.max-p.me avatar

I think you also need to enable full forwarding to and from wan on Router B. I forgot it defaults to not doing that. Set input, output and forward to ACCEPT on Router B on the wan zone, and make sure you also allow forwarding to and from the lan zone. Router A should be fine, I assume A’s WiFi and LAN is the same?

Basically now, Router A sends the traffic to B but B doesn’t forward it to its LAN. But since we don’t have NAT, A’s devices addresses B’s devices directly, not B itself, and there isn’t any connection tracking happening, so it doesn’t “remember” to allow the ping response back in. If you WireShark this, I bet B is successfully sending packets to A and A’s devices, and A’s packets make it all the way to B but B doesn’t forward it to its own LAN, and it stops there.

Can you post the output of ip ro and ip a on both routers? (Feel free to redact your public IP/ISP stuff if it shows up)

Max_P , to homelab in [WORKAROUND] Nextcloud portforward stops working when it is moved to a bridged network
@Max_P@lemmy.max-p.me avatar

Sounds about right.

I think I set this right: Network->Routing->Add->(Interface: wwan, Route type: unicast, Target: 192.168.0.1/24, Gateway: 192.168.1.1)

That doesn’t seem right. If you’re using the exact same subnet numbers I’ve used for example: that’s be target 192.168.1.0/24 (B’s network) gateway 192.168.0.2 (B’s IP on A’s network as a WiFi client).

Router B is on two networks at the same time: its own (192.168.1.1/24) and A’s network (192.168.0.2/24).

Router A is only on its own network (192.168.0.1/24) and talks to router B as just a client on its network (192.168.0.2). Whenever it has data to send to the 192.168.1.x network, it sends it to 192.168.0.2 which is on that network and will relay it.

How would I go about doing this? I can’t find any definitive information on how to disable NAT in OpenWRT.

Router B would wan configured as a WiFi client with a static IP of 192.168.0.2/24 and default gateway of 192.168.0.1 (router A). The regular default route will do just fine, as that will cover A’s network as well. We’d only need to configure more if there was a third router involved. From there you just need to disable IP masquerading option in Network -> Firewall (you want it unchecked):

Firewall configuration for zone “want”

You don’t need masquerade even though it’s technically a “wan” because A knows how to send traffic to B’s clients, so B itself doesn’t have to pretend its clients come from itself.

I do need this. I believe this would then require an mDNS reflector, right (it wasn’t required before as relayd was bridging the networks)?

Correct. I found this: blog.christophersmart.com/
/resolving-mdns-across


If that proves too complicated, I’d consider trying out the GRE tunnel method your original article suggests as an alternative to relayd. It’s kind of like a super basic VPN that I think can be hardware offloaded so I wouldn’t expect much of a performance hit, maybe even less than the relayd option.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • ‱
  • random
  • All magazines