segfault/README.md

44 lines
1.6 KiB
Markdown
Raw Normal View History

2022-05-10 15:39:52 +00:00
# segfault
2022-02-28 10:38:57 +00:00
Regional Cluster design:
```mermaid
graph TD;
2022-02-28 15:14:34 +00:00
DockerShell1-->DockerSSHD1;
DockerShell2-->DockerSSHD1;
DockerShell3-->DockerSSHD2;
DockerShell4-->DockerSSHD2;
DockerShell5-->DockerSSHD2;
DockerSSHD1-->Server1;
DockerSSHD2-->Server2;
Server1-- Optional VPN -->OpenVPN;
Server2-- Optional VPN -->OpenVPN;
OpenVPN -- Leaving Region -->NordVPN
2022-02-28 10:38:57 +00:00
NordVPN-->INTERNETZ
```
2022-02-28 15:14:34 +00:00
1. Server is running OpenSSH in a docker and shares /var/run/docker.sock with the OpenSSH-Docker instance. This allows to have just the docker_cli to be installed and spin up a shell for the user without having to run an extra docker-daemon (but using the docker-daemon from Server instead).
1. On small deployments the ```OpenVPN Server``` can be the same as Server[12]. This allows to run *everything* off 1 single server.
1. AWS Fargate could be utilized by nesting the entire setup in a Docker-in-Docker (dind) configuration.
2022-02-28 10:44:25 +00:00
2022-02-28 10:38:57 +00:00
Cluster can be deployed in various regions for less latency.
2022-03-07 07:59:36 +00:00
TODO:
1. https://docs.docker.com/engine/security/userns-remap/
2022-02-28 10:38:57 +00:00
2022-03-07 07:13:49 +00:00
Helpful links
1. https://github.com/nicolaka/netshoot
2022-03-07 07:59:36 +00:00
1. https://www.linuxserver.io/ and https://github.com/just-containers/s6-overlay
2022-03-07 07:13:49 +00:00
1. https://jordanelver.co.uk/blog/2019/06/03/routing-docker-traffic-through-a-vpn-connection/
2022-03-07 07:59:36 +00:00
1. https://hub.docker.com/r/alexaso/dnsmasq-dnscrypt and https://github.com/crazy-max/docker-cloudflared
2. https://wiki.archlinux.org/title/EncFS
3. https://www.supertechcrew.com/wetty-browser-ssh-terminal/
2022-03-07 07:13:49 +00:00
VPN Providers:
1. ProtonVPN
1. NordVPN
1. https://www.cryptostorm.is/
Hosting providers:
1. https://www.linode.com/
1. https://1984hosting.com/