| 5 Jun 2021 |
hexa | set bridge=br0 in hostapd extraConfig | 00:25:32 |
ElvishJerricco | Ah, right | 00:25:46 |
ElvishJerricco | It worked! The iPhone has internet, and the pi can be accessed on the network | 00:27:48 |
hexa | 🎉 | 00:28:06 |
ElvishJerricco | Alright, now in theory all i need is more reliable hardware than a pi and I can get a pretty good network going with a couple access points hooked up to a dhcp server. | 00:28:50 |
ElvishJerricco | Anything good out there that A) I can install NixOS on, B) has reasonable performance, and C) isn't as expensive as a full blown PC? | 00:29:57 |
hexa | most access points won't handle nixos too well 😂 | 00:30:43 |
hexa | which is why https://github.com/telent/nixwrt was created | 00:30:59 |
hexa | but I don't know if anyone besides telent is using that | 00:31:20 |
ElvishJerricco | I suppose the rpi cm4 has a pcie slot, and is still reasonably cheap. Is there a good cheap card for this? | 00:31:27 |
hexa | personally I roll with openwrt | 00:31:28 |
hexa | you'd probably want mpcie or m.2, there's lots of cards out there | 00:32:02 |
hexa | I can recommend ath9k/ath10k/mt76 | 00:32:13 |
hexa | everything else is messy and not well supported | 00:32:27 |
Church | In reply to @antifuchs:asf.computer hah, I've been wanting to set up a nice dedicated router for my home network with nix... it seems like a very good match The apu2e4 is a great machine for it. | 00:33:27 |
hexa | but stuck with minipcie | 00:33:34 |
hexa | and you'd need two radios for dualband wifi | 00:33:42 |
hexa | and that sets you back like ~215 € | 00:33:55 |
hexa | there is no nice case with enough external antenna slots | 00:34:35 |
hexa | there is one, it isn't too nice :D | 00:34:42 |
Church | Okay stupid question because my networking is weak.
Is there a manner to specify forwarding all traffic destinated for a port to/through an address first?
Have a wg peer connected to my router I want to forward all traffic destined for port 25 to from another machine.
So machine A -> router -> wg peer ip | 00:35:10 |
hexa | (my home wifi is an apu2c4 with a compex wle600vx) | 00:35:14 |
Church | Same except a unifi AP for wireless | 00:35:37 |
Church | Nice little beast | 00:35:46 |
hexa | flag it with fwmark in iptables, do policy routing based on that mark, add a route to the relvent table | 00:35:54 |
Zhaofeng Li | Had an expressobin (2x Cortex A53) as the home router, wasn't able to saturate gigabit with the iptables rules and stuff that I had 🙁 | 00:36:10 |
Church | Okay time to go look up how to do that | 00:36:19 |
Zhaofeng Li | And then I stayed away from low-powered devices like that | 00:36:29 |
hexa | not quite the A76 we're hoping for | 00:36:31 |
Church | Wonder if I just bother danderson for it heh | 00:36:32 |