!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

911 Members
Declaratively manage your switching, routing, wireless, tunneling and more.264 Servers

Load older messages


SenderMessageTime
5 Jun 2021
@elvishjerricco:matrix.orgElvishJerriccoAnything 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:lossy.networkhexamost access points won't handle nixos too well 😂00:30:43
@hexa:lossy.networkhexawhich is why https://github.com/telent/nixwrt was created 00:30:59
@hexa:lossy.networkhexa but I don't know if anyone besides telent is using that 00:31:20
@elvishjerricco:matrix.orgElvishJerricco 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:lossy.networkhexapersonally I roll with openwrt00:31:28
@hexa:lossy.networkhexayou'd probably want mpcie or m.2, there's lots of cards out there00:32:02
@hexa:lossy.networkhexaI can recommend ath9k/ath10k/mt7600:32:13
@hexa:lossy.networkhexaeverything else is messy and not well supported00:32:27
@noah:matrix.chatsubo.cafeChurch
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:lossy.networkhexabut stuck with minipcie00:33:34
@hexa:lossy.networkhexaand you'd need two radios for dualband wifi00:33:42
@hexa:lossy.networkhexaand that sets you back like ~215 €00:33:55
@hexa:lossy.networkhexathere is no nice case with enough external antenna slots00:34:35
@hexa:lossy.networkhexathere is one, it isn't too nice :D00:34:42
@noah:matrix.chatsubo.cafeChurchOkay 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 ip00:35:10
@hexa:lossy.networkhexa(my home wifi is an apu2c4 with a compex wle600vx)00:35:14
@noah:matrix.chatsubo.cafeChurchSame except a unifi AP for wireless00:35:37
@noah:matrix.chatsubo.cafeChurchNice little beast00:35:46
@hexa:lossy.networkhexaflag it with fwmark in iptables, do policy routing based on that mark, add a route to the relvent table00:35:54
@zhaofeng:zhaofeng.liZhaofeng LiHad 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
@noah:matrix.chatsubo.cafeChurchOkay time to go look up how to do that00:36:19
@zhaofeng:zhaofeng.liZhaofeng LiAnd then I stayed away from low-powered devices like that00:36:29
@hexa:lossy.networkhexanot quite the A76 we're hoping for 00:36:31
@noah:matrix.chatsubo.cafeChurchWonder if I just bother danderson for it heh00:36:32
@noah:matrix.chatsubo.cafeChurchOkay seems simple from memory. Now to try it out heh00:37:55
@hexa:lossy.networkhexaiptables -A prerouting -t mangle -i wg0 -p tcp --dport 25 --jump MARK --set-mark 100:38:18
@hexa:lossy.networkhexaip rule add priority 100 fwmark 0x1 lookup 10000:38:50
@hexa:lossy.networkhexaip route add default via 192.0.2.1 table 10000:39:06
@hexa:lossy.networkhexa(in imperative speak)00:39:10

Show newer messages


Back to Room ListRoom Version: 6