[-] tubbadu@lemmy.kde.social 28 points 1 month ago

What about Penix?

[-] tubbadu@lemmy.kde.social 30 points 3 months ago

Please tell me this is not real

[-] tubbadu@lemmy.kde.social 32 points 4 months ago

Is this real or just a meme?

[-] tubbadu@lemmy.kde.social 27 points 7 months ago

Thanks for the link! I'm trying to install the latest APK in the releases (which is 1y old), but when I try to log in it says "you're using an outdated version, please update" refusing to let me log in :(

298

it says "Remember that it's not possible to play films on GNU/Linux, but only on other compatible devices"... ahh what a wild world we live in

37
submitted 7 months ago* (last edited 7 months ago) by tubbadu@lemmy.kde.social to c/piracy@lemmy.dbzer0.com

Hello! I recently set up my first home server, and would like to set up qbittorrent on it. I tried using protonVPN, which is what I use on desktop, but got rate limited because torrenting on the free plan is not allowed. What do you think of hide.me vpn? it has a CLI linux version, I think I can install it inside the docker container and set up a killswitch (that should be built in? at least that's what they say) to torrent safely.

I know paid VPNs are better and also pretty cheap, but I cannot afford one right now. Any tips?

18

Hello! I'm trying to set up qbittorrent and gluetun using docker compose on my home server, using the free account of ProtonVPN.

on some posts I see that ports 8080, 6881 and 6881/UDP are open in gluetun. in the guide I followed instead only port 8080 is exposed. So I exposed port 8080 and it is not working. I launched the torrent of endeavourOS iso image (that my laptop (with the same vpn) downloads in a few minutes with plenty of peers and seeds at about 4Mb/s), and it downloaded at an EXTREME low speed (a few B/s) for a few seconds, and then got stuck at stalled. When it is stalled, the qbittorrent container has no internet access (ping linux.org fails).

So my questions are:

  1. Which ports do I need to open on gluetun? if I open 6881 wouldn't my IP be exposed bypassing gluetun?
  2. What's wrong with my setup? Why is internet connection so slow when there is, and why does it go away so often?
  3. Is this configuration secure? in case of gluetun fail, would my IP be leaked?

here's the two docker-compose.yml files:

version: "3"

services:
    gluetun:
        image: qmcgaw/gluetun
        container_name: gluetun
        cap_add:
            - NET_ADMIN
        environment:
            - VPN_SERVICE_PROVIDER=protonvpn
            - OPENVPN_USER=MYUSERHERE
            - OPENVPN_PASSWORD=MYPASSWORDHERE
            - SERVER_COUNTRIES=Netherlands
            - FREE_ONLY=on
        volumes:
            - ~/docker/gluetun/gluetun:/gluetun
        ports:
            - 8080:8080 # qBittorrent
        restart: unless-stopped

and

version: "3"
services:
  qbittorrent:
    image: linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Rome
      - WEBUI_PORT=8080
    volumes:
      - ~/docker/qbittorrent/config:/config
      - ~/docker/qbittorrent/downloads:/downloads
    network_mode: "container:gluetun"
    #ports:
    #  - 8080:8080
    #  - 6881:6881
    #  - 6881:6881/udp
    restart: unless-stopped

and here's some logs:

024-01-22T19:07:15Z INFO Settings summary:
โ”œโ”€โ”€ VPN settings:
|   โ”œโ”€โ”€ VPN provider settings:
|   |   โ”œโ”€โ”€ Name: protonvpn
|   |   โ””โ”€โ”€ Server selection settings:
|   |       โ”œโ”€โ”€ VPN type: openvpn
|   |       โ”œโ”€โ”€ Countries: netherlands
|   |       โ”œโ”€โ”€ Free only servers: yes
|   |       โ””โ”€โ”€ OpenVPN server selection settings:
|   |           โ””โ”€โ”€ Protocol: UDP
|   โ””โ”€โ”€ OpenVPN settings:
|       โ”œโ”€โ”€ OpenVPN version: 2.5
|       โ”œโ”€โ”€ User: [set]
|       โ”œโ”€โ”€ Password: fL...BK
|       โ”œโ”€โ”€ Network interface: tun0
|       โ”œโ”€โ”€ Run OpenVPN as: root
|       โ””โ”€โ”€ Verbosity level: 1
โ”œโ”€โ”€ DNS settings:
|   โ”œโ”€โ”€ Keep existing nameserver(s): no
|   โ”œโ”€โ”€ DNS server address to use: 127.0.0.1
|   โ””โ”€โ”€ DNS over TLS settings:
|       โ”œโ”€โ”€ Enabled: yes
|       โ”œโ”€โ”€ Update period: every 24h0m0s
|       โ”œโ”€โ”€ Unbound settings:
|       |   โ”œโ”€โ”€ Authoritative servers:
|       |   |   โ””โ”€โ”€ cloudflare
|       |   โ”œโ”€โ”€ Caching: yes
|       |   โ”œโ”€โ”€ IPv6: no
|       |   โ”œโ”€โ”€ Verbosity level: 1
|       |   โ”œโ”€โ”€ Verbosity details level: 0
|       |   โ”œโ”€โ”€ Validation log level: 0
|       |   โ”œโ”€โ”€ System user: root
|       |   โ””โ”€โ”€ Allowed networks:
|       |       โ”œโ”€โ”€ 0.0.0.0/0
|       |       โ””โ”€โ”€ ::/0
|       โ””โ”€โ”€ DNS filtering settings:
|           โ”œโ”€โ”€ Block malicious: yes
|           โ”œโ”€โ”€ Block ads: no
|           โ”œโ”€โ”€ Block surveillance: no
|           โ””โ”€โ”€ Blocked IP networks:
|               โ”œโ”€โ”€ 127.0.0.1/8
|               โ”œโ”€โ”€ 10.0.0.0/8
|               โ”œโ”€โ”€ 172.16.0.0/12
|               โ”œโ”€โ”€ 192.168.0.0/16
|               โ”œโ”€โ”€ 169.254.0.0/16
|               โ”œโ”€โ”€ ::1/128
|               โ”œโ”€โ”€ fc00::/7
|               โ”œโ”€โ”€ fe80::/10
|               โ”œโ”€โ”€ ::ffff:127.0.0.1/104
|               โ”œโ”€โ”€ ::ffff:10.0.0.0/104
|               โ”œโ”€โ”€ ::ffff:169.254.0.0/112
|               โ”œโ”€โ”€ ::ffff:172.16.0.0/108
|               โ””โ”€โ”€ ::ffff:192.168.0.0/112
โ”œโ”€โ”€ Firewall settings:
|   โ””โ”€โ”€ Enabled: yes
โ”œโ”€โ”€ Log settings:
|   โ””โ”€โ”€ Log level: INFO
โ”œโ”€โ”€ Health settings:
|   โ”œโ”€โ”€ Server listening address: 127.0.0.1:9999
|   โ”œโ”€โ”€ Target address: cloudflare.com:443
|   โ”œโ”€โ”€ Duration to wait after success: 5s
|   โ”œโ”€โ”€ Read header timeout: 100ms
|   โ”œโ”€โ”€ Read timeout: 500ms
|   โ””โ”€โ”€ VPN wait durations:
|       โ”œโ”€โ”€ Initial duration: 6s
|       โ””โ”€โ”€ Additional duration: 5s
โ”œโ”€โ”€ Shadowsocks server settings:
|   โ””โ”€โ”€ Enabled: no
โ”œโ”€โ”€ HTTP proxy settings:
|   โ””โ”€โ”€ Enabled: no
โ”œโ”€โ”€ Control server settings:
|   โ”œโ”€โ”€ Listening address: :8000
|   โ””โ”€โ”€ Logging: yes
โ”œโ”€โ”€ OS Alpine settings:
|   โ”œโ”€โ”€ Process UID: 1000
|   โ””โ”€โ”€ Process GID: 1000
โ”œโ”€โ”€ Public IP settings:
|   โ”œโ”€โ”€ Fetching: every 12h0m0s
|   โ””โ”€โ”€ IP file path: /tmp/gluetun/ip
โ””โ”€โ”€ Version settings:
โ””โ”€โ”€ Enabled: yes
2024-01-22T19:07:15Z INFO [routing] default route found: interface eth0, gateway 172.29.0.1, assigned IP 172.29.0.2 and family v4
2024-01-22T19:07:15Z INFO [routing] adding route for 0.0.0.0/0
2024-01-22T19:07:15Z INFO [firewall] setting allowed subnets...
2024-01-22T19:07:15Z INFO [routing] default route found: interface eth0, gateway 172.29.0.1, assigned IP 172.29.0.2 and family v4
2024-01-22T19:07:15Z INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
2024-01-22T19:07:15Z INFO [dns] using plaintext DNS at address 1.1.1.1
2024-01-22T19:07:15Z INFO [http server] http server listening on [::]:8000
2024-01-22T19:07:15Z INFO [healthcheck] listening on 127.0.0.1:9999
2024-01-22T19:07:15Z INFO [firewall] allowing VPN connection...
2024-01-22T19:07:15Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-01-22T19:07:15Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-01-22T19:07:15Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]192.40.57.231:1194
2024-01-22T19:07:15Z INFO [openvpn] UDP link local: (not bound)
2024-01-22T19:07:15Z INFO [openvpn] UDP link remote: [AF_INET]192.40.57.231:1194
2024-01-22T19:07:21Z INFO [healthcheck] program has been unhealthy for 6s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2024-01-22T19:07:21Z INFO [vpn] stopping
2024-01-22T19:07:21Z INFO [vpn] starting
2024-01-22T19:07:21Z INFO [firewall] allowing VPN connection...
2024-01-22T19:07:21Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-01-22T19:07:21Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-01-22T19:07:21Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]185.107.56.235:1194
2024-01-22T19:07:21Z INFO [openvpn] UDP link local: (not bound)
2024-01-22T19:07:21Z INFO [openvpn] UDP link remote: [AF_INET]185.107.56.235:1194
2024-01-22T19:07:22Z WARN [openvpn] 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1634'
2024-01-22T19:07:22Z WARN [openvpn] 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
2024-01-22T19:07:22Z WARN [openvpn] 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2024-01-22T19:07:22Z INFO [openvpn] [node-nl-164.protonvpn.net] Peer Connection Initiated with [AF_INET]185.107.56.235:1194
2024-01-22T19:07:23Z INFO [openvpn] setsockopt TCP_NODELAY=1 failed
2024-01-22T19:07:23Z INFO [openvpn] TUN/TAP device tun0 opened
2024-01-22T19:07:23Z INFO [openvpn] /sbin/ip link set dev tun0 up mtu 1500
2024-01-22T19:07:23Z INFO [openvpn] /sbin/ip link set dev tun0 up
2024-01-22T19:07:23Z INFO [openvpn] /sbin/ip addr add dev tun0 10.25.0.5/16
2024-01-22T19:07:23Z INFO [openvpn] UID set to nonrootuser
2024-01-22T19:07:23Z INFO [openvpn] Initialization Sequence Completed
2024-01-22T19:07:23Z INFO [dns] downloading DNS over TLS cryptographic files
2024-01-22T19:07:24Z INFO [healthcheck] healthy!
2024-01-22T19:07:24Z INFO [dns] downloading hostnames and IP block lists
2024-01-22T19:07:32Z INFO [healthcheck] unhealthy: dialing: dial tcp4: lookup cloudflare.com: i/o timeout
2024-01-22T19:07:32Z INFO [dns] init module 0: validator
2024-01-22T19:07:32Z INFO [dns] init module 1: iterator
2024-01-22T19:07:32Z INFO [dns] start of service (unbound 1.17.1).
2024-01-22T19:07:33Z INFO [dns] generate keytag query _ta-4a5c-4f66. NULL IN
2024-01-22T19:07:33Z INFO [healthcheck] healthy!
2024-01-22T19:07:33Z INFO [dns] ready
2024-01-22T19:07:33Z INFO [vpn] You are running on the bleeding edge of latest!
2024-01-22T19:07:33Z INFO [ip getter] Public IP address is 185.107.56.251 (Netherlands, North Holland, Amsterdam)
[-] tubbadu@lemmy.kde.social 25 points 7 months ago

I didn't think this could actually exist, just ordered one! thanks!

65
submitted 7 months ago by tubbadu@lemmy.kde.social to c/linux@lemmy.ml

Hello! I converted an old laptop with a broken screen into a home server, and it all works well except for one thing: when I reboot it (via ssh), if no screen is connected, it will get stuck and refuse to boot. as soon as I connect an HDMI monitor, the fans will start spinning and it will start booting as usual. Then I can remove the HDMI and it will work flawlessly. I don't know if this is a linux problem, a GRUB problem, or a firmware problem.
Any idea on how to solve this, or on how to fool it into thinking a screen is connected? The problem is not the lid switch as I removed the magnet from the screen, so it thinks the lid is always open

Thanks in advance!

36
submitted 7 months ago* (last edited 7 months ago) by tubbadu@lemmy.kde.social to c/piracy@lemmy.dbzer0.com

Hello! I'd like to write a script to download videos from streamingcommunity.estate from a given video URL, and to do this I need the m3u8 file url. Currently I manually go to the network tab to search for it, but I'd like the script to do this automatically. Do you know of a way to achieve this? Bash or Python if possible, otherwise any other method will do fine. Thanks in advance!

10
submitted 7 months ago* (last edited 7 months ago) by tubbadu@lemmy.kde.social to c/selfhosted@lemmy.world

Hello! I just installed jellyfin and wanted to access it with https. So, as I did yesterday for other apps (immich) in nginx proxy host I created a new proxy host, set the domain (jellyfin.mydomain.duckdns.org), set "create new SSL certificate", "I agree on let's encrypt stuff" and clicked save. Ports 80 and 443 are the only ports exposed on my router.

After some loading, internal error. searching on the web I tried the followings:

  • tried with and without "force SSL"
  • open port 81 on the router [source]
  • checked Use a DNS Challenge as explained here

but internal error was always there. Any idea what could be the problem? and why yesterday everything worked flawlessly?

EDIT: I rebooted and then i couldn't even log in, bad gateway error. after some troubles I do not remember I achieved to log in, and now the SSL certificate has been added correctly!

16
submitted 8 months ago* (last edited 8 months ago) by tubbadu@lemmy.kde.social to c/linux@lemmy.ml

Hello! Thanks to everyone who helped me yesterday, but I could not solve the issue. I however identified the problem. I opened a new thread to better focus on the real problem.

I just set up a debian server, installed docker from the official repo and then immich using docker compose. When I run docker compose up -d (after a few seconds) my server loses internet connectivity: it can access local addresses (I can ssh into it) but cannot access the internet: ping linux.org fails.

if I put down immich (docker compose down) it starts working again. the issue is probably that docker is creating a network bridge that conflicts with the host.

After searching the web, I tried to create /etc/docker/daemon.json like this:

{
  "bip": "172.18.0.1/24",
  "default-address-pools": [
    {"base": "172.19.0.0/16", "size": 24}
  ]
}

after the changes systemctl restart docker, then wait 10 seconds for everything to restart correctly.
I tried different configurations of addresses here (every stackoverflow answer gave different values, so I tried all of them), but none of them worked. I don't know how to get which values to put here (if this is actually the solution)

a strange behavior I observed is that running ip route flush 0/0 temporary solves the problem, until the restart of docker, and Immich works normally (at least the "normal" behavior, I don't know if this affects some functionalities)

Any tips? This is my really first experience in self hosting and I have to admit it, I thought it would have been easier :P

In case you'll need it, here's the output of ip addr show:

0.0.0.0 dev veth4c84e92 scope link
0.0.0.0 dev veth1f88dcc scope link
0.0.0.0 dev vethda721de scope link
0.0.0.0 dev vethd123481 scope link
0.0.0.0 dev veth23a05f6 scope link
default dev veth4c84e92 scope link # this line and the line below disappear after the flush
default dev veth1f88dcc scope link # (this one)
default via 192.168.1.1 dev enp1s0
169.254.0.0/16 dev veth23a05f6 proto kernel scope link src 169.254.6.247
169.254.0.0/16 dev vethd123481 proto kernel scope link src 169.254.226.60
169.254.0.0/16 dev vethda721de proto kernel scope link src 169.254.248.163
169.254.0.0/16 dev veth1f88dcc proto kernel scope link src 169.254.136.146
169.254.0.0/16 dev veth4c84e92 proto kernel scope link src 169.254.29.133
169.254.0.0/16 dev enp1s0 scope link metric 1000
172.16.0.0/20 dev br-237d14e56e71 proto kernel scope link src 172.16.0.1
172.18.0.0/24 dev docker0 proto kernel scope link src 172.18.0.1 linkdown
192.168.1.0/24 dev enp1s0 proto kernel scope link src 192.168.1.4
192.168.1.1 dev enp1s0 scope link

EDIT: I gave up. I removed debian and installed fedora, and now it all works like a charm

22
submitted 8 months ago* (last edited 8 months ago) by tubbadu@lemmy.kde.social to c/linux@lemmy.ml

Hello! I (tried, at least) converted an old laptop to a Debian home server, and I was trying to set up duckdns.org and to enable port forwarding on my router. internet connection was working, I installed packages, docker, immich, etc, and then suddenly (I don't know exactly when) it refuses to connect to the internet. It does connect to local addresses (I can ssh into it) but ping google.com and any other internet-involving command fail. I had set up a rule on the router to forward port 80 to the device's port 80, but I then removed the rule and it still does not connect to the internet. I rebooted the router but nothing changed. Any idea what could be? the router is a Vodafone router.

I changed the hostname to debianserver but on the router it is still written debian. Also, it's the only device with unknown ipv6

thanks in advance!

EDIT: I rebooted again the server, and now ipv6 is not unknown anymore, and the hostname is correct. however, it still does not connect to the internet

EDIT 2:

only one device (debianserver) has this problem, other devices work as before

EDIT 3:

I don't know if it's useful or not, but if I boot a live debian USB in the server internet works

~~SOLUTION:~~ aaaaand no it does not work, after restarting docker it seems to work because all the brodges are yet to be created and it takes some time, after like 30 seconds it does not work as before :(

  • edit the file /lib/systemd/system/docker.service
  • append the flag --bip=192.168.3.1/24 to ExecStart=....
  • systemctl daemon-reload
  • systemctl restart docker

docker was the fucker that messed everything up and made me lose a few hours!

EDIT 4:

it seems that ip route flush 0/0 restores the internet connectivity until reboot... I don't know what does this means but can be a temporary workaround I guess? I really have no idea how to solve this

FINAL EDIT: I gave up. I removed debian and installed fedora, and now it all works like a charm

332
Hate when it happens (lemmy.kde.social)
submitted 8 months ago by tubbadu@lemmy.kde.social to c/memes@lemmy.ml
16

Hello! I'd like to print food safe objects to use in the kitchen, like spoons and glasses and so on. Looking on the web it seems that the problem with 3d printed objects is that the space between layers is like bacteria's heaven, so after one use you have to throw them away. The only way I found on the web is "coat with resin", but I don't like this very much, as scratches can remove the coating. also "print a negative and use it like a stamp" seems like too much work for a simple spoon.
so the question is, what if I use a filament that can go into the dishwasher, so I can clean it with boiling water? the web didn't help me much on this, as I found different opinions on the matter: some people said that PETG could go in the dishwasher, some said no.

what is the real answer? can I 3d print PETG objects, use them, put them in the dishwasher, and then safely reuse them?

10
submitted 8 months ago by tubbadu@lemmy.kde.social to c/askandroid

Hello! I have GrapheneOS on my pixel 7, and yesterday I updated it to the latest version. Today, I tried setting a timer and... It didn't work. I'm using simple clock from simple mobile tools. Using the stock clock does work flawlessly instead. Do any of you experience the same?

How to reproduce:

  • Install simple clock
  • open the app and create a new timer, let's say 5 min, and start it
  • close the app
  • there is no notification showing "a timer is running", and after 5 minutes no sound will be played
  • if instead of closing the app you just minimize it, then the notification is shown. After this, you can close the app and the notification will stay, working as expected

(I have it set as not optimized)

18
submitted 8 months ago by tubbadu@lemmy.kde.social to c/askandroid

Hello! I have a pixel 7 with GrapheneOS, and would like to install eSpeak as TTS engine. On fdroid there is no release available, and on github if I download the apk and try to install it, a "the app cannot be installed because your device is not compatible" error is thrown. Why this? And how can I install it?

[-] tubbadu@lemmy.kde.social 35 points 10 months ago

But that's chromium anyway

[-] tubbadu@lemmy.kde.social 25 points 10 months ago

Probably it's the icon's fault, you can find the icon somewhere in the /usr/share/icons I think (if you have cuttlefish installed you can find the location easier), and then you can edit it and remove some white border around it to make it bigger. At the first update it will be resetted tho, so it's probably better to copy it as a new icon "steam-resized" for example, and then use kmenuedit to change the icon used by steam

[-] tubbadu@lemmy.kde.social 24 points 11 months ago

Thid guy has the power of God

[-] tubbadu@lemmy.kde.social 34 points 1 year ago

Martin Router King

[-] tubbadu@lemmy.kde.social 28 points 1 year ago

For me it's a 100% win

view more: โ€น prev next โ€บ

tubbadu

joined 1 year ago