eyJhb changed the topic of #nixos-on-your-router to: NixOS on your Router || https://logs.nix.samueldr.com/nixos-on-your-router
mmlb has joined #nixos-on-your-router
<gchristensen> sometimes (often) I'm on a network without public IPv6. but sometimes (the other 50% of the time) I do. this isn't really -on-your-router, but more like -networking-on-your-laptop. but is it possible to have a wireguard tunnel give me a working public ipv6 connection which is *HEAVILY* deprioritized, and *ONLY* used if the other end does not support IPv4 and I'm not on an otherwise
<gchristensen> IPv6-capable machine?
<cransom> i have an ipv6 tunnel that i grab one of the ips from the /64 on my linode to enable when i'm on non v6 networks. it's not automagic. i assume it still works, it's been a while since i've been remote.
<flokli> gchristensen: what about setting a very very conservative route metric for the ipv6 default route going over that tunnel?
<flokli> If there's a default route with a more favorable metric coming through RAs, packets should take that gateway
<cransom> most apps are set to use a v6 address if something returns a valid one and it has a 6 address. i don't think routing will discourage it from using it
<andi-> I would not set the route metrics as flokli proposed and be happy that I am using IPv6 even if the local network doesn't provide it.
<gchristensen> it is quite expensive
<gchristensen> I would be full of regret if I watched a bunch of videos over the tunnel
<andi-> that sounds so wrong.. bandwidth is so cheap these days (in general) :(
<gchristensen> yeah but its Premium (tm)
* andi- 🙄
<cransom> expensive in what way? latency?
<andi-> $$$
<gchristensen> $/gb
<gchristensen> I guess I could have it tunnel to my home network and not be expensive but then it would be quite slow
<gchristensen> so I was going to have it come out Packet, which is not slow but not cheap
<cransom> hrm, i guess yeah. packet isn't a flat rate bandwidth fee.
<cransom> i have hundreds of gb worth out of linode, i suppose i never really considered it
<gchristensen> right
<gchristensen> like $0.05/gb
<cransom> well, if you balance the quality and speed of the random guest wifis and how much you could possibly get over ipv6 ... at least in my experience, i bet that would probably cost me $0.05. tops.
<gchristensen> heh
<andi-> Mhm. the 3TB a month I am doing here would cost me ~15€/month or so if I would buy that via premium transit @ 95-percentile..
<cransom> jibbers. i appear to have become a hermit in january. i've used a total of 300megs of mobile data this month.
<gchristensen> sometimes DDG is utterly incompetent lol https://gsc.io/snaps/d3153c69-8e76-4ee6-85a0-97df0987918d.png
<andi-> I always disliked about Packet that they don't seem to be at any public peering points.. Checking the webiste just now it also dropped back to IPv4-only.. *sigh*
<gchristensen> heh.
<fooker> gchristensen: even if I don't see the point in doing this, there is /etc/gai.conf (http://man7.org/linux/man-pages/man5/gai.conf.5.html). But I'm not sure if it is still relevant if stuff like systemd-resolved comes into play.