u/lukmly013 💾 (lemmy.sdf.org)

18M I like computers, trains, space, radio-related everything and a bunch of other tech related stuff. User of GNU+Linux.
I am also dumb and worthless.
My laptop is HP 255 G7 running Manjaro and Linux Mint.
I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

  • 10 Posts
  • 486 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle










  • Good idea.

    You can still get the newest DD-WRT builds even on the WRT54G.
    That is a Wi-Fi router from 2002.

    Of course, the features are sort of limited. I tried the VPN build (on WRT54GL), but I couldn’t get the OpenVPN client to connect. I found some thread mentioning it may be missing something, but I don’t know if that’s the issue.

    Anyway, without overclocking I’d expect like 2Mbps. I mean, it barely handles HTTPS. Just trying to load the WebUI maxes out the CPU for several seconds if trying to use HTTPS.
    Perhaps it’s not missing anything software-wise, but it’s just so slow it times out during handshake.
    So I just put the std build on it in case it will be useful at some point.



  • My lazy way is NGINX with autoindex.

    If it’s to go over untrusted network (e.g.: internet, school network) I use SSH for port forwarding. Lazy encryption.

    Something like this works just fine:

    worker_processes 1;
    daemon off;
    events {
    }
    http {
            default_type application/octet-stream;
            server {
                    root /storage/emulated/0/sharedfile;
                    listen 127.0.0.1:30000;
                    location / {
                          autoindex on;
                    }
            }
    
    }
    

    sharedfile is a directory with the files.
    On remote machine if I am not mistaken

    ssh -L 127.0.0.1:8080:127.0.0.1:30000 username@host
    

    Then just access it in web browser on 127.0.0.1:8080 or whatever port you chose.
    In PuTTY you can find this under “Tunnels”.

    Of course, you need to have SSH server set up as well.



  • Oh, I searched it up and indeed that seems what it does.

    I thought it normally just forwarded all the traffic. I wouldn’t think people would just let someone else see all traffic between their servers and their users.
    I thought it was more like public SSH jump servers.
    Right, how else would the CF interstitial page work.

    I thought it was done just for the Quick Tunnels which don’t even require an account. I’ve used those a few times, but only in cases where plain HTTP would be OK.