Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docker_notes:vpn [2024-12-07 Sat wk49 12:43] – [Syncthing] baumkp | docker_notes:vpn [2024-12-28 Sat wk52 11:23] (current) – [Wireguard] baumkp | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| There have been considered 3 different levels of access as described by the applications used: | There have been considered 3 different levels of access as described by the applications used: | ||
| - | * Nextcloud | + | *Wireguard |
| - | * Privatebin - An encrypted file publicly accessible file sharing server | + | *Tailscale |
| - | * Syncthing - A files synchronising system | + | *Headscale |
| - | * Wireguard - A VPN server | + | *OpenVPN (Old) |
| These applications and their scope are described further below. | These applications and their scope are described further below. | ||
| - | =====Nextcloud===== | + | =====Wireguard===== |
| - | Nextcloud is an open source content collaboration platform. | + | I previously successfully setup [[https:// |
| - | I have been using Nextcloud and before that Owncloud from which Nextcloud was forked since circa 2013. My server setup is described here: | + | Using Docker |
| - | *kptree | + | ++++docker-compose.yml| |
| - | | + | <code yaml> |
| + | services: | ||
| + | | ||
| + | image: lscr.io/linuxserver/wireguard: | ||
| + | container_name: | ||
| + | cap_add: | ||
| + | - NET_ADMIN | ||
| + | - SYS_MODULE #optional | ||
| + | environment: | ||
| + | - PUID=1000 | ||
| + | - PGID=1000 | ||
| + | - TZ=Australia/ | ||
| + | - SERVERURL=kptree.net | ||
| + | - SERVERPORT=51820 #optional | ||
| + | - PEERS=2 #optional | ||
| + | - PEERDNS=auto #optional | ||
| + | - INTERNAL_SUBNET=10.13.13.0 #optional | ||
| + | - ALLOWEDIPS=0.0.0.0/0 #optional | ||
| + | - PERSISTENTKEEPALIVE_PEERS=all #optional | ||
| + | - LOG_CONFS=true #optional | ||
| + | volumes: | ||
| + | - ./ | ||
| + | | ||
| + | ports: | ||
| + | - 51820: | ||
| + | sysctls: | ||
| + | - net.ipv4.conf.all.src_valid_mark=1 | ||
| + | restart: unless-stopped</ | ||
| + | ++++ | ||
| - | =====Privatebin===== | + | The Wireguard container [[https:// |
| + | *Variables '' | ||
| + | *To add more peers/ | ||
| + | *To display the QR codes of active peers again, you can use the following command and list the peer numbers as arguments: '' | ||
| + | ====References===== | ||
| + | *[[https:// | ||
| + | * xdeb.org [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| - | =====Syncthing===== | + | =====Tailscale===== |
| - | + | See Headscale. | |
| - | [[https://syncthing.net/|Syncthing]] | + | ====Reference==== |
| - | =====Wireguard===== | + | *[[https://tailscale.com/|Tailscale]]: |
| - | I previously successfully setup [[https://wiki.kptree.net/doku.php? | + | |
| + | *[[https://tailscale.com/kb/ | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | =====Headscale===== | ||
| + | For my use case Headscale | ||
| + | https:// | ||
| + | ====Reference==== | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| ---- | ---- | ||
| <- docker_notes: | <- docker_notes: | ||