What ended up working is a) Setting "Table = off" in the Wireguard config, not to create the "move all traffic through Wireguard" routing rules, b) manually route traffic coming from wg0: "ip route add default via $WG0_IP dev wg0 table 1000; ip rule add from $WG0_IP table 1000"

Show thread

The problem I had is that I need the "AllowedIPs =" since I want to be able to serve traffic "from everywhere" (federation FTW!). Unfortunately, when using 'wg-quick' it means that it will set up special routing rules to redirect *all* (even outgoing) traffic through Wireguard, and thus VPS. I noticed when Steam downloads became slow :) (yes, this server is also a gaming machine).

Show thread

shenanigans - I moved and I only have a "double carrier NAT" so no open ports, no public IP. I do have a VPS that I can use as a "bounce server" with port forwarding. I use Wireguard to keep my home server always connected to the VPS, and thus in theory forward server traffic back. Also in practice, since you see this post.

Michal boosted

"Come eat, or it will be cold!", or "I will heat it up for you!" - I wonder where our (grand)parents' concern for *warm* meals is coming from 🤔

Michal boosted

This is so much fun to play^H^H^H^Hexperiment with. Queue the wrath of forum members for not having a proper enclosure! 😆

Michal boosted

"We didn't call it fuzzing back in the 1950s, but it was our standard practice to test programs by inputting decks of punch cards taken from the trash.

We also used decks of random number punch cards. We weren't networked in those days, so we weren't much worried about security, but our random/trash decks often turned up undesirable behavior.

Every programmer I knew used the trash-deck technique."

-- Gerald M. Weinberg

I've misconfigured power management on my laptop, it did not suspend and my kids discovered the magic of Xscreensaver. It's been keeping them entertained for 30min already.

Running gnome-control-center outside of Gnome (I'm using AwesomeWM) and the damn thing crashes on a panel? Well too bad, it remembers which panel you opened last, so it will keep segfaulting. Use this to reset the last panel so you can get back to settings again: $ gsettings set org.gnome.ControlCenter last-panel ''

After years (!) of watching videos, I finally fired it up yesterday and struggled with the learning curve (I also tried FreeCAD but gave up after 30min trying to extrude a stupid circle). But eventually I managed to come up with a mockup of a portable speaker with batteries using measurements of the components I have.

Michal boosted

Following @stux finally brought cat picture balance to my life, but damn it's chewing through disk space quickly:

mastodon=> select a.url as user, sum(m.file_file_size) as bytes, count(m.file_file_size) as posts, sum(m.file_file_size)/count(m.file_file_size) as bytes_per_post from media_attachments m join statuses s on s.id=m.status_id join accounts a on s.account_id=a.id where m.file_file_size is not null group by 1 order by 2 desc; --> 300MB in 2w

Michal boosted
Michal boosted

| ̄ ̄ ̄ ̄ ̄ |
| Screw |
| Apple |
| Use |
| #Linux |
| _____|
(\__/) ||
(•ㅅ•) ||
/   づ

Michal boosted

Installed on and navigating to offered me to "install" it on my homescreen. I tried that... and it's awesome 🙂 native-like experience (no URL bar, fullscreen) without the need to download any apps.

Show more

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!