abimelechbeutelbilch

joined 3 years ago
[–] abimelechbeutelbilch@fulda.social 1 points 2 months ago (1 children)

@cute_noker #python wins by simplicity and a very small footprint. But it loses by security (if this is a matter for the data made available for the whole internet).

[–] abimelechbeutelbilch@fulda.social 1 points 2 months ago* (last edited 2 months ago) (3 children)

@cute_noker If you are familiar with #docker you can use #copyparty as simple as this:

docker pull copyparty/im && docker stop copyparty_photos && docker rm copyparty_photos

docker run -d -p 12345:12345 --name copyparty_photos \
--restart unless-stopped \
-v /path/to/photos/:/w \
-v /root/.config/copyparty:/cfg \
copyparty/im \
--https-only -nih -p 12345 \
--localtime \
--nos-hdd \
--grid \
--theme=6 \
-v /w::r,guest:rd,admin \
-a guest:pw1234 \
-a admin:anotherpw5678 \
--ipu=1.2.3.4/32=admin

TL;DR:
Path/to/photos = where your files are stored
-p 12345:12345 = Port to expose
Use https only!
User guest with PW can read
User admin with PW can read and delete
Autologin as admin if coming from IP 1.2.3.4

All parameters: https://ocv.me/copyparty/helptext.html

@cute_noker Maybe "oversized"; but https and password secured (for named users) 🔒

@cinimodev @0_o7 @NaiP What can be easier than edit a #yaml file and do a #docker compose up -d 🤷🏻‍♂️

[–] abimelechbeutelbilch@fulda.social 1 points 2 months ago (1 children)

@chihuamaranian

You only want your #homelab #containers use a #wireguard #vpn or all from your homelab computer(s)?

First you need a wireguard server "outside" to tunnel your traffic to. I have WG on some cloud servers at german datacenter provider #Hetzner , so I can start/stop a VPN easy like this:

wg-quick "$1" ~/dev/wg/hetzner-"$2".conf

with first argument = down/up
and second argument = shortname for my VPN server = location at #hetznercloud

@0_o7 @NaiP

[–] abimelechbeutelbilch@fulda.social 2 points 2 months ago (5 children)

@0_o7 @NaiP

I use https://github.com/linuxserver/docker-wireguard and followed the "Usage" to install and start my personal #wireguard #VPN server(s) - at #homelab and on my cloud servers at german datacenter provider #Hetzner #hetznercloud

This took me only some minutes to have a running VPN for my mobile devices and laptops for everyone in the family.

Important: to reach my VPN at home a #portforwarding from ISP router to my homelab linux server is needed.
WireGuard does authenticate devices - not users! So you need a config for each devices!

[–] abimelechbeutelbilch@fulda.social 2 points 2 months ago (7 children)

@thirdBreakfast @NaiP Is there a reason not to use plain #wireguard because it's so simple? 🤷🏻‍♂️