nutbutter

joined 1 year ago
[–] nutbutter@discuss.tchncs.de 24 points 1 day ago (1 children)

I think it belonged to Sony. Death Stranding just got released on Xbox as well.

[–] nutbutter@discuss.tchncs.de 5 points 2 days ago (2 children)

What do you mean?

[–] nutbutter@discuss.tchncs.de 4 points 3 days ago

I think it's more like Red Hat and Debian fucked, and have birth to Fedora.

[–] nutbutter@discuss.tchncs.de 1 points 4 days ago (1 children)

Then why do have to use both, a unified push server and a mollysocket, if both are doing the exact same thing?

[–] nutbutter@discuss.tchncs.de 29 points 5 days ago (7 children)

I think when kids will start doing it in public, the original symbol will lose its significance.

[–] nutbutter@discuss.tchncs.de 3 points 5 days ago (3 children)

Oh yes. Like, I selfhost both, ntfy and MollySocket. I am sure MollySocket does encrypt the data.

[–] nutbutter@discuss.tchncs.de 6 points 5 days ago (5 children)

Yes, they can read the data. But apps like Molly (Signal Fork) send encrypted notifications. So, the time and some other metadata may be read by the server, but the content and contact won't be visible in plain text.

[–] nutbutter@discuss.tchncs.de 5 points 6 days ago

The best thing about this game is that it can be played in splitscreen.

[–] nutbutter@discuss.tchncs.de 1 points 1 week ago (3 children)

Are the stories related in the campaigns? Or are they stand alone like Battlefield games?

[–] nutbutter@discuss.tchncs.de 11 points 1 week ago (9 children)

Is it really that good?

Also, If I have never played any CoD, how and where should I start?

[–] nutbutter@discuss.tchncs.de 2 points 1 week ago

I had very high hopes for this.

[–] nutbutter@discuss.tchncs.de 6 points 2 weeks ago

I forward it to my domain, so that I can listen to music in my office or anywhere else.

I have a VPS on hetzner, and I forward all my local traffic through that VPS via TLS-passthrough, not TLS termination using WireGuard amd HAProxy.

To know more about my setup, you can this this. https://blog.aiquiral.me/bypass-cgnat

 

I need some suggestions on what to play. Single Player games only. Most of the games make me feel lonely and alone. In most of the games, the protagonist has to deal with the problems on their own, like Control, Crysis, Ghost of Tsushima, God of War (I liked the original 6 more than the new ones, even though the new ones had companions), horror games like Outlast, Echo and Alan Wake, and many others.

I want something that won't give me anxiety. I really enjoyed Guardians of the Galaxy, having those teammates by my side always made me feel "safe". I also liked Spider-Man and Deadpool because the humour makes me feel comfortable. In old Harry Potter games, Ron, Hermione and Harry were usually together, so, I never felt alone while playing those either. In Indika, that one hand man was with me for most of the game.

Open world games also give me less anxiety, like most Assassin's Creed games, Ghost of Tsushima, Just Cause series, etc.

I think you all get my point. So, what do you suggest I should play?

 

I bought an Optiplex 5040, with an i5-6500TE, and 8 GB DDR3L RAM.

When I bought it, I installed Fedora Server on it. It got stuck every few days but I could never see the error. The services just stopped working, I couldn't ssh into it, and connecting it to a monitor showed a black screen.

So, I thought let's install Ubuntu Server, maybe Fedora isn't compatible with all of its hardware. The same thing is happening, now, but I can see this error. Even when there's nothing installed on it, no containers, nothing other than base packages, this happens.

I have updated the bios. I have tried setting nouveau.modeset=0 in the grub config file. I have tried disabling and enabling c-states. No luck till now.

Would really appreciate if anyone helps me with this.

UPDATE:

  • I cleaned everything and reapplied the thermal paste. I did not see any change in the thermals. It never goes over 55°C even under full load.
  • I reset the motherboard by removing that jumper thing.
  • I ran memtest86, which took over 2½ hours. It did not show any errors.
  • I ran a CPU stress test for over 15 hours, and nothing crashed.
  • I also ran the Dell's diagnostic tool, available in the boot menu of the motherboard. The whole test took over 2 hours but did not show any errors. It tested the memory, CPU, fans, storage drives, etc.
 

My current setup is an old MacBook woth 2 external HDDs, and I am almost happy with it, for now. I just saw this mini PC on Amazon and I am considering buying it, just to try out a new thing. I think it is cheap (~22 USD).

What I am worried about is that this much memory and storage might make it almost unusable. I was thinking of hosting some minor services, like remark42, shynet or vaultwarden. What else do you think I can host? If my mind changes, I will also try it with a desktop environment and try to connect it to my 4K Android TV.

Here are some specs, if you don't want to visit the webpage:

Brand thinvent
Personal computer design type Mini PC
Operating System Linux
Memory Storage Capacity 16 GB
RAM Memory Installed Size 2 GB
CPU Model Cortex A5
Special Feature Memory Card Reader
CPU Manufacturer ARM
Wireless network technology Wi-Fi
CPU Speed 2 GHz
Graphics Coprocessor ‎Integrated Graphics
RAM Memory Maximum Size ‎16 GB
Hardware Interface ‎Ethernet
Memory Speed ‎2 GHz
Item Dimensions LxWxH ‎10 x 10 x 1.8 Centimeters
Speaker Description ‎built in
Video Output Interface ‎HDMI
Graphics Card Description ‎Integrated
Hard Disk Interface ‎Unknown
Style ‎With Wi-Fi
Manufacturer ‎Thinvent Technologes Pvt Ltd
Form Factor ‎Small Form Factor
Item Height ‎1.8 Centimeters
Item Width ‎10 Centimeters
Product Dimensions ‎10 x 10 x 1.8 cm; 460 g
Item model number ‎Micro 5_2021
Processor Count ‎1
RAM Size ‎2 GB
Computer Memory Type ‎DDR4 SDRAM
Hard Drive Size ‎16 GB
Hardware Platform ‎Linux
Lithium Battery Energy Content ‎5 Watt Hours
Manufacturer ‎Thinvent Technologes Pvt Ltd
Country of Origin ‎India
Item Weight ‎460 g
 

This repo is also mirrored to Codeberg.

I made an easy to use ToDo app, just to learn a bit about programming and Flutter. It does not really provide any benefits over other ToDo apps, but I am glad that I was able to make this.

You can download the APK for Android, rpm for RHEL/Fedora or just use the AppImage.

I am willing to work more on this, you can read the roadmap in the link provided.

Any guidance, criticisms, or comments will be greatly appreciated.

 

Even after enabling JS, all I saw waa a white/blank page. They probably want me to enable cookies and/or DOM storage.

 

I am new to FuckCars, and personally, I feel very much aligned to this ideology. Particularly, the amout of environmental damage the fuel consumption causes, concerns me.

However, sometimes, I feel like I am a hypocrite, because I drive a motorcycle, which again, causes pollution. But, in my defense, I always try to use my bicycle if I can, and use my motorbike only when necessary, because public transportation system isn't great in my city. Also, the amount of pollutants my bike releases is way less when compared to a car, or even a small hatchback.

The bike in question is only 160cc, and does 30-40 km/litre (~18-25 miles/litre).

So, what is your opinion on all this, and how can I improve my situation?

 

*I am not referring to solo OnlyFans models.

I find almost every American porn video similar. They have a few plots which they keep repeating. 80℅ of those videos have similar looking women. I feel that they are not trying anything new. And personally, I do not find their accent as appealing as British accent.

European porn industry, on the other hand, feels like they are taking more courageous decisions. German and Russian femdom videos are so much better. British teacher-student videos actually make you learn a new English word or two. I find Spanish and Italian women much more appealing. One thing I really like is that they include a variety of body types in their videos.

This is just my take. I would really like to know what you all think.

PS - I am an Indian, and I like Indian and Japanese porn videos more than European ones.

Edit - How do I mark a post as NSFW on Voyager?

55
Cost-cutting tips? (discuss.tchncs.de)
submitted 1 year ago* (last edited 1 year ago) by nutbutter@discuss.tchncs.de to c/selfhosted@lemmy.world
 

What are your favourite, or least favourite but necessary, cost-cutting methods?

I feel I am spending too many resources on unnecessary stuff.

Edit: I feel the need to reduce both – the resources, to host multiple things on one system, and cost, to buy/pay for multiple systems. Currently, I have 2 ARM VPSes and 1 old MacBook Air as a home server.

 

Until yesterday, I didn’t even know you could use the docker images and the same docker-compose configs with Podman.

The UI you are looking at is Cockpit, which can be installed on almost any Linux Server. I have used it before but I am amazed by its integration with Podman.

Seriously, consider trying this, once.

Here's another screenshot of Cockpit:

 

TL;DR - option forwardfor and http-request set-header X-Real-IP %[src] are not working.

My setup is slightly complicated. I have a homeserver, with HAProxy installed and some docker containers. My homeserver is, then, connected to a VPS via WireGuard which also has HAProxy installed. HAProxy on homeserver forwards the docker containers with an SSL certificate to the VPS. The VPS, then, just does TLS pass through to the clients.

The issue is, if I do not use option forwardfor in either of the 2 HAProxy configurations, I get the internal IP address of the docker container (172.XX.XX.1). If I add option forwardfor on the homeserver's HAProxy config, I get the internal IP of the WireGuard of the home server (10.0.0.2). And if I add option forwardfor to the HAProxy config of the VPS as well, I get the internal IP of the WireGuard tunnel (10.0.0.1). And as far as I know, http-request set-header X-Real-IP %[src] has no impact. I have also tried using send-proxy and send-proxy-v2, but then the whole setup stops working.

HAProxy config on home server:

global
        log /dev/log    local0
        log /dev/log    local1 notice
        chroot /var/lib/haproxy
        stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners
        stats timeout 30s
        user haproxy
        group haproxy
        daemon

        # Default SSL material locations
        ca-base /etc/ssl/certs
        crt-base /etc/ssl/private

        # See: https://ssl-config.mozilla.org/#server=haproxy&server-version=2.0.3&config=intermediate
        ssl-default-bind-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20>
        ssl-default-bind-ciphersuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
        ssl-default-bind-options ssl-min-ver TLSv1.2 no-tls-tickets

defaults
        log     global
        mode    http
        option  httplog
        option  dontlognull
        timeout connect 5000
        timeout client  50000
        timeout server  50000
        errorfile 400 /etc/haproxy/errors/400.http
        errorfile 403 /etc/haproxy/errors/403.http
        errorfile 408 /etc/haproxy/errors/408.http
        errorfile 500 /etc/haproxy/errors/500.http
        errorfile 502 /etc/haproxy/errors/502.http
        errorfile 503 /etc/haproxy/errors/503.http
        errorfile 504 /etc/haproxy/errors/504.http

listen rp
        bind *:443 ssl crt /path/to/cert.pem

        acl service1 hdr_sub(host) -i service1.domain.me
        acl service2 hdr_sub(host) -i service2.domain.me

        use_backend service1_backend if service1
        use_backend service2_backend if service2

backend service1_backend
        server service1_server 127.0.0.1:8080

backend service2_backend
#       option forwardfor
#       http-request set-header X-Real-IP %[src]
        server service2_server 127.0.0.1:9090

HAProxy config on VPS:

global
        log /dev/log    local0
        log /dev/log    local1 notice
        chroot /var/lib/haproxy
        stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners
        stats timeout 30s
        user haproxy
        group haproxy
        daemon
        tune.ssl.default-dh-param       4096

defaults
        log     global
        mode    tcp
#       option  forwardfor
        timeout connect 5000
        timeout client  50000
        timeout server  50000

listen http
        bind *:80
        mode tcp
        server default 10.0.0.2:80
listen https
        bind *:443 alpn h2,http/1.1
        mode tcp
#       option forwardfor header X-Real-IP
#       http-request set-header X-Real-IP %[src]
        server main 10.0.0.2:443

I have to resort to this because I am behind CGNAT, and want TLS pass through on the VPS for privacy.

What am I doing wrong?

 

I am trying to set up a reverse proxy server, with TLS passthrough.

I am behind CGNAT, so I cannot forward any ports from my home server. So, my current workaround was that I connected my home server to a VPS via WireGuard and used Nginx Proxy Manager (NPM) to proxy services running on different docker containers to the VPS, so that they are accessible publicly. But now I want to use TLS passthrough for better privacy. But I cannot find any guides for my case.

I need help with 2 issues, basically. Let's take a look at my passthrough.conf file, which I have included in nginx.conf file.

stream {
    # Listen for incoming TLS connections on service1.domain.me
    server {
        listen 443;
        proxy_pass service1.domain.me;
        proxy_ssl on;
        proxy_ssl_protocols TLSv1.2 TLSv1.3;
        proxy_ssl_name $ssl_preread_server_name;
    }

    # Listen for incoming TLS connections on service2.domain.me
#    server {
#        listen 443;
#        proxy_pass service2.domain.me;
#        proxy_ssl on;
#        proxy_ssl_protocols TLSv1.2 TLSv1.3;
#        proxy_ssl_name $ssl_preread_server_name;
#    }

    # Define the backend server for service1.domain.me
    upstream service1.domain.me {
        server homeserverIP:port;
    }

    # Define the backend server for service2.domain.me
#    upstream service2.domain.me {
#        server homeserverIP:port;
#    }
}

The services are running in docker containers on different ports. When I used two server blocks and two upstream blocks, I got this error while testing NGINX config: nginx: [emerg] duplicate "0.0.0.0:443" address and port pair in /etc/nginx/passthrough.conf:13. So, I commented out the other server block and tested it again. The test was successful, but NGINX failed to restart. When I checked the systemctl status I saw: nginx[2480644]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use). This is because I am already hosting multiple WordPress sites on this VPS.

Here's my nginx.conf file:

user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {
        worker_connections 768;
}

http {

        sendfile on;
        tcp_nopush on;
        types_hash_max_size 2048;

        include /etc/nginx/mime.types;
        default_type application/octet-stream;


        ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
        ssl_prefer_server_ciphers on;

        access_log /var/log/nginx/access.log;
        error_log /var/log/nginx/error.log;

        gzip on;

        gzip_vary on;
        gzip_proxied any;
        gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

        include /etc/nginx/conf.d/*.conf;
        include /etc/nginx/sites-enabled/*;

        client_max_body_size 100M;
        server_tokens off;

}

#include /etc/nginx/passthrough.conf;

I do not know much about NGINX configuration, any help or article links would help.

 

Hi. I have been into self-hosting for about 2 years, now. My current setup is that I have a home server and a VPS. My ISP does not let me forward any ports (I am behind CGNAT, I think), so, I have connected my home server to a VPS via a WireGuard tunnel and am using Nginx Proxy Manager (NPM) to proxy the services hosted on my homeserver to the public.

Now, the traffic that goes from my home server to the VPS and from VPS to the public are encrypted, but theoretically, the VPS provider can look at the data passing through, since this is technically TLS termination. Although, I trust my VPS provider more than I trust my ISP, I am thinking about setting up TLS passthrough, for additional privacy. But I have a few questions and I would be greatful if anyone can help me.

  1. Do I need to put the SSL certificates on my homeserver, or can they remain on the VPS if I have to set up TLS Passthrough?
  2. Is port forwarding required to set up TLS passthough?
  3. Does NPM support TLS passthrough, or should I shift to HAProxy?

If there are any issues with my current setup, or the assumptions I am making, please guide me.

view more: next ›