zzzzzz

joined 2 years ago
[–] zzzzzz@lemmy.ml 3 points 2 years ago

I just spent an hour trying to get this installed in a Proxmox VM. No dice. After install, it just boots to the GRUB rescue prompt. Oh well, seems like a cool idea.

[–] zzzzzz@lemmy.ml 1 points 2 years ago

Wow! I thought this was already the case. I'm also interested in the answer.

[–] zzzzzz@lemmy.ml 2 points 2 years ago
[–] zzzzzz@lemmy.ml 12 points 2 years ago

Fun fact: Brussel sprouts taste better now because the bitterness was intentionally selectively bred out of them in the '90s. They were, apparently, only bitter for a period of time because the ones that were easiest to mechanically harvest were bitter. Pre-mechanical harvesting, less bitter varieties were more popular.

https://www.mentalfloss.com/posts/do-brussels-sprouts-taste-better-now-yes-here-s-why-01ghed9q8dr8

[–] zzzzzz@lemmy.ml 2 points 2 years ago

Awesome! You too.

[–] zzzzzz@lemmy.ml 3 points 2 years ago (3 children)

Let me know how it works out for you! I'm happy to be able to share this. I was very pleased with myself but had no one to tell haha. I actually have several copies of this set up with each Gluetun instance connected to different countries. Then, changing country is as easy as changing your tailnet exit node!

[–] zzzzzz@lemmy.ml 4 points 2 years ago

Thanks, but no thanks.

[–] zzzzzz@lemmy.ml 9 points 2 years ago (6 children)

I have solved this problem! The trick is to use two Docker containers:

  1. Gluetun (https://github.com/qdm12/gluetun): set this up to connect to your VPN.
  2. Tailscale (https://tailscale.com/kb/1282/docker/): set this to use the Gluetun network.

Here is an example docker-compose.yml:

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    # line above must be uncommented to allow external containers to connect.
    # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - ./gluetun:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=xxx
      - WIREGUARD_PRESHARED_KEY=xxx
      - WIREGUARD_ADDRESSES=xxx
      - WIREGUARD_MTU=1320
      - SERVER_COUNTRIES=United States
      # See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
      # Timezone for accurate log times
      - TZ=America/New_York
      # Server list updater
      # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
      - UPDATER_PERIOD=24h

  tailscale:
    container_name: tailscale
    cap_add:
      - NET_ADMIN
      - NET_RAW
    volumes:
      - ./tailscale/var/lib:/var/lib
      - ./tailscale/state:/state
      - /dev/net/tun:/dev/net/tun
    network_mode: "service:gluetun"
    restart: unless-stopped
    environment:
      - TS_HOSTNAME=airvpn-exit-node
      - TS_AUTHKEY=xxxxxxxx
      - TS_EXTRA_ARGS=--login-server=https://example.com --advertise-exit-node
      - TS_NO_LOGS_NO_SUPPORT=true
      - TS_STATE_DIR=/state
    image: tailscale/tailscale
[–] zzzzzz@lemmy.ml 6 points 2 years ago (1 children)

I have found Nginx Proxy Manager to be a huge time-saver for configuring nginx and certbot.

[–] zzzzzz@lemmy.ml 4 points 2 years ago (1 children)

ADL vice, ADL vice, every morning hypocrisy.

[–] zzzzzz@lemmy.ml -1 points 2 years ago (1 children)

Fair point, but that probably wouldn't be a "big difference" for a first time user.

[–] zzzzzz@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) (1 children)

!selfhost@lemmy.ml

(put an "!" in front)

view more: ‹ prev next ›