!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

904 Members
on your Router! Declaratively manage your switching, routing, wireless, tunneling and more.271 Servers

Load older messages


SenderMessageTime
25 Apr 2026
@luke:vuksta.comLukeI ended up swapping back to wg-quick for now since it's been such a pain 04:57:23
@luke:vuksta.comLukeI guess my routing table there was sending docker's traffic to the remote as well? I don't know, it's just a frustrating swap to try to make04:59:28
26 Apr 2026
@debugloop:bugpara.dedebugloop joined the room.03:44:06
@debugloop:bugpara.dedebugloop left the room.23:25:18
29 Apr 2026
@brittonr_:matrix.orgbrittonr removed their profile picture.14:44:31
30 Apr 2026
@cadair:cadair.comCadair

hey, I'm slowly going insane trying to configure my router to send certain traffic over a wireguard tunnel. As far as I can tell I have the wireguard connection up (I see handshakes and sent / recieved bytes in wg status). I set a route over the tunnel though and no traffic actually makes it across. I'd really appreciate some pointers in how to debug, I've exhausted my realatively limited networking knowledge.

I'm using systemd-networkd, I have a brigde interface (for my lan switch) a wan interface, and a whole bunch of wireguard interfaces and routing across most of the wireguard interfaces work fine, but they are in private subnets. What I'm trying to do with this one is send some traffic to a public IP on the internet over a wireguard interface rather than my default route.

13:53:52
@k900:0upti.meK900Is the machine on the other end configured to actually forward packets?13:56:05
@cadair:cadair.comCadairyeah it's mullvad14:00:03
@k900:0upti.meK900And what is allowedIPs set to on the interface?14:00:32
@cadair:cadair.comCadair0.0.0.0/014:00:57
@k900:0upti.meK900That looks normal then14:01:21
@k900:0upti.meK900Are you doing NAT on the router?14:01:23
@k900:0upti.meK900It's possible that Mullvad won't NAT random packets14:01:33
@k900:0upti.meK900So you have to double NAT14:01:35
@cadair:cadair.comCadairI have a very very similar config running on another host but where I've made it my default route14:02:17
@cadair:cadair.comCadairand that works14:02:19
@k900:0upti.meK900That would imply no NAT14:02:35
@cadair:cadair.comCadairI've also tried making it the default route on this host and that didn't work either14:03:31
@k900:0upti.meK900Are you sending traffic directly from the router14:03:51
@k900:0upti.meK900Or from one of the hosts on the LAN14:03:56
@cadair:cadair.comCadairI'm at the point where I'm assuming something is messed up because of the extra networking complexity on this host14:03:56
@cadair:cadair.comCadairyes14:03:58
@k900:0upti.meK900Because you probably need to NAT14:03:59
@cadair:cadair.comCadairI can't ping out from the router across the tunnel14:04:11
@cadair:cadair.comCadair

I have this route:

185.254.79.30 dev mullvad proto static scope link metric 512 

and I can't ping 185.254.79.30 from the router

14:05:00
@k900:0upti.meK900Uhh is 185.254.79.30 the internal address of the peer on the tunnel14:05:28
@k900:0upti.meK900Or is it the external endpoint14:05:32
@k900:0upti.meK900Cause it feels like the latter14:05:35
@cadair:cadair.comCadairyeah the latter14:05:39
@k900:0upti.meK900Then it should absolutely not have a route on the Mullvad interface14:06:01

Show newer messages


Back to Room ListRoom Version: 6