tang
selfhosted-apps-docker
tang | selfhosted-apps-docker | |
---|---|---|
11 | 150 | |
453 | 1,437 | |
2.0% | - | |
7.1 | 8.7 | |
3 months ago | 12 days ago | |
C | Shell | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tang
-
Can I boot an encrypted system by pulling the key from another PC?
Have a look at clevis and tang. These allow you do have one server - which could be your remote you want to pull from - to be source of the LUKS decryption on the system using tang.
-
PSA: Upgrade your LUKS key derivation function
I found that running tang[1] at home and needing to decrypt that box (can be a Pi or whatever) requiring a complex passphrase is very sufficient. You can even just unplug it at night if it makes you sleep better.
https://github.com/latchset/tang
-
How to mount LUKS encrypted USB storages (and HDDs inserted to hot swappable drive bay) automatically when connected? The machine is running headlessly, does not have desktop environments installed.
There are 3 ways to unlock a volume in a headless environment: - use a keyfile, located on an already available volume - use your device's TPM and utilize systemd-cryptenroll - use Clevis/Tang to unlock volumes remotely
-
is possible to encrypt disk without asking for password on boot?
This is why on headless servers you use tang (ideally, multiple tang servers)
-
Tang on OPNSense
Sharing my notes on running a Tang server on OPNSense, in case it is useful for somebody else.
-
PSA: If you have a LUKS encrypted system and a TPM2 chip, you can put it to good use
We use clevis against multiple tang servers to provide Network Bound Disk Encryption (NBDE). It's possible to also use TPM2 but it's easier to use multiple tang servers (requiring more than one server to decrypt) in the datacenter.
-
A lot of questions about Self hosting :)
For automating unlocking of encrypted drives, look into tang . Here is a red hat guide on setting it up. You will want to be running this on another device on your network, i run it on my router with openwrt since its a local device thats on 24/7. Basically it will unlock your disks as long as your server is on your network, so if your machine or drives are stolen or removed from your network they will just be encrypted as usual. Obviously use a strong encryption password.
-
Systemd 250 released
There are other ways to bind data, e.g. "network binding" with Tang server.
-
Best Evil Maid prototcol for Linux?
I wonder if https://github.com/latchset/clevis and https://github.com/latchset/tang (complementary projects) will help here.
-
Luks Root Encryption
Yes you can, using either Mandos or Clevis and Tang. https://www.recompile.se/mandos https://github.com/latchset/clevis https://github.com/latchset/tang. Basically on boot the server gets the key from another(s) servers. You could use a hidden raspberry pi for example.
selfhosted-apps-docker
-
Minecraft server
Heres documentation how I run mine. You need to learn a bit of docker, but its easy.
-
Rustdesk very poor performance with own server
Heres the way I deployed it in docker using S6 image. Maybe try that if theres a change.
-
RustDesk - Self Hosted Setup Guide
WD=/opt/rustdesk #rm $WD/ -R mkdir -p $WD/{setup,data,web} cd $WD/setup cat << 'EOF' >docker-compose.yaml version: '3.7' #Links #https://hub.docker.com/r/rustdesk/rustdesk-server/tags #https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/docker/ #https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/rustdesk #https://github.com/rustdesk/rustdesk-server#s6-overlay-based-images #https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/relay/ #https://rustdesk.com/docs/en/dev/build/web/ services: rustdesk_server: container_name: rustdesk_server hostname: rustdesk_server image: ${SERVER_IMAGE} # network_mode: host networks: - rustdesk_net ports: - 21115:21115 - 21116:21116 - 21116:21116/udp - 21117:21117 - 21118:21118 - 21119:21119 volumes: - type: bind source: /opt/rustdesk/data/ target: /data environment: - 'TZ=${TZ}' - 'RELAY=${RELAY}' - 'ENCRYPTED_ONLY=${ENCRYPTED_ONLY}' - 'KEY_PUB=${KEY_PUB}' - 'KEY_PRIV=${KEY_PRIV}' rustdesk_web: container_name: rustdesk_web hostname: rustdesk_web image: pmietlicki/rustdesk-web-client:latest # network_mode: host networks: - rustdesk_net ports: - 5000:5000 volumes: #docker cp rustdesk_web:/app . #sed -i -e 's/supportdesk.itportaal.nl/sub.domain.com/g' ./app/build/web/main.dart.js #sed -i -e 's/OvYPJS8I5xV+d6sx3a7Ce9TVakfKdT3Zy3T7C1jjx+A=/PUBKEY/g' ./app/build/web/main.dart.js - type: bind source: /opt/rustdesk/web/app/ target: /app - type: bind source: /opt/rustdesk/data/ target: /root environment: - 'TZ=${TZ}' networks: rustdesk_net: driver: bridge EOF
-
Reverse Proxy or Not ?
I tested several reverse proxy setups, the one I like the best is Caddy for its simplicity while being very feature rich. Here is a guide with examples how to setup Caddy. It includes even monitoring who connects from where.
-
Looking for the best VPN container for Docker
I used plain wireguard on dockerhost for a while, now I am running wg-easy.
-
Best reverse proxy approach? (Cloudflare, Tailscale, NextDNS, Oracle Cloud, Caddy)
This guide could be useful.
-
What monitoring software is popular amongst sysadmins? Networking Disk Uptime Bandwidth
Here is some basic setup to get the idea.
-
I don't know what distro should I use and my other questions
This repo should generally be useful, there is speedrun to hosting shit in docker in it...
-
[HELP] Can you help me with this docker compose file (example)?
This is bookstack compose I use.
-
Looking for easy to set up and use tool for maintaining/monitoring handful of ubuntu machines updates
prometheus + grafana + loki for monitoring, this could help
What are some alternatives?
clevis - Automated Encryption Framework
mistborn
sedutil - Use sedutil for setting up and using self encrypting drives (SEDs) that comply with the TCG OPAL 2.00 standard. This includes the requisite pre-boot authentication image.
EteSync Server - The Etebase server (so you can run your own)
docker-traefik - Docker media and home server stack with Docker Compose, Traefik, Swarm Mode, Google OAuth2/Authelia, and LetsEncrypt
docker-swag - Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.
booster - Fast and secure initramfs generator
Whisparr
systemd - systemd upstream
Traefik-v2-examples - Traefik v2 guide by examples
linux-luks-tpm-boot - A guide for setting up LUKS boot with a key from TPM in Linux
DockSTARTer - DockSTARTer helps you get started with running apps in Docker.