!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

896 Members
Declaratively manage your switching, routing, wireless, tunneling and more.262 Servers

Load older messages


SenderMessageTime
23 May 2021
@cicucci:matrix.orgcicucci set a profile picture.15:41:39
@casey:hubns.netcasey ©washort: as in like using nix as a template, or using the nix module to create vyatta configs? (still no on both counts, but curious)18:00:04
@noah:matrix.chatsubo.cafeChurch

Hmm so I'm curious has anyone gotten wireguard working in a nixOS container before? I know someone was noodling with it back on freenode.

Currently I've tried generating a wg interface inside the container. Given I can reach the endpoint of the remote peer I'm assuming it can't reach me back.

So I assume I'll want to generate a namespace with the wg peer and move that into my container?

19:09:55
@joerg:bethselamin.deMic92 (Old) noah: did you forward the wireguard port to your container? If your container is able to reach the remotes peer wireguard this might be not necessary so 19:14:30
@joerg:bethselamin.deMic92 (Old)You might the keepalive option in this case so19:14:47
@noah:matrix.chatsubo.cafeChurchHmm that might be it. I didn't forward the port in this private network. Would that be with the forwardPorts option? And would that prevent me from setting up more containers on the host with wg?19:16:38
@joerg:bethselamin.deMic92 (Old)
In reply to @noah:matrix.chatsubo.cafe
Hmm that might be it. I didn't forward the port in this private network. Would that be with the forwardPorts option? And would that prevent me from setting up more containers on the host with wg?
No, just use different ports.
19:21:14
@noah:matrix.chatsubo.cafeChurchGot it19:21:42
@noah:matrix.chatsubo.cafeChurchYeah seems I just had my IP's switched in my wg def ugh.19:38:56
@maljub01:matrix.orgmaljub01 joined the room.20:05:08
@washort:greyface.orgdash casey ©: well i'm just thinking, i've got an Edgerouter-X and there's a textual format for the system config, firewall rules etc, maybe i could generate that from nix exprs and share network-config info with the exprs for my other hosts 21:32:15
24 May 2021
@noah:matrix.chatsubo.cafeChurch changed their display name from noah to Church.02:40:48
@zhaofeng:zhaofeng.liZhaofeng Li joined the room.03:15:56
@hoverbear:matrix.orghoverbear joined the room.03:26:08
@zhaofeng:zhaofeng.liZhaofeng Li changed their display name from zhaofeng to Zhaofeng Li.03:47:03
@hoverbear:matrix.orghoverbear changed their profile picture.04:57:56
@oopisthedevil:matrix.orgoopisthedevil joined the room.06:25:28
@patrick:georgi.familyPatrick Georgi joined the room.07:30:47
@jul1u5:matrix.orgjul1u5 removed their profile picture.20:05:16
@noah:matrix.chatsubo.cafeChurch set a profile picture.21:17:17
@panacea:matrix.orgpanacea joined the room.21:50:33
25 May 2021
@rajivr:matrix.orgrajivr joined the room.01:13:44
@aasg:aasg.nameAluísio Augusto Silva Gonçalves joined the room.06:36:39
@n0emis:noemis.men0emisHas someone here tried to package exabgp?13:31:25
@andi:kack.itandi-I haven't tried but last time I used it that was straightforward13:48:28
@esac:matrix.orgp10r joined the room.14:35:12
@packetizeme:matrix.orgbinaryoctopus joined the room.15:41:36
@meetmangukiya:matrix.orgmeet joined the room.16:06:14
@alexey96:matrix.orgalexey96 joined the room.17:28:04
@alexey96:matrix.orgalexey96Hello. I am a new NixOS user and I seek help with Dnsmasq configuration. I have configured local network dns on a nixos machine to filter ads. It works but very slowly, top shows that dnsmasq service is taking 100% cpu. I believe this is because my resolve.conf has my router ip address, which itself has DNS address set to NixOS machine. I have a feeling that they are stuck in some kind of loop. I tried to tinker with configuration.nix to remove router address from resolve.conf, but I cant figure how to do it17:28:41

Show newer messages


Back to Room ListRoom Version: 6