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-22 Sun wk51 11:57] – [Unison] baumkp | docker_notes:vpn [2024-12-28 Sat wk52 11:23] (current) – [Wireguard] baumkp | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| *Tailscale | *Tailscale | ||
| *Headscale | *Headscale | ||
| + | *OpenVPN (Old) | ||
| These applications and their scope are described further below. | These applications and their scope are described further below. | ||
| + | =====Wireguard===== | ||
| + | I previously successfully setup [[https:// | ||
| + | Using Docker [[https:// | ||
| + | ++++docker-compose.yml| | ||
| + | <code yaml>--- | ||
| + | services: | ||
| + | wireguard: | ||
| + | image: lscr.io/ | ||
| + | container_name: | ||
| + | cap_add: | ||
| + | - NET_ADMIN | ||
| + | - SYS_MODULE #optional | ||
| + | environment: | ||
| + | - PUID=1000 | ||
| + | - PGID=1000 | ||
| + | - TZ=Australia/ | ||
| + | - SERVERURL=kptree.net #optional | ||
| + | - SERVERPORT=51820 #optional | ||
| + | - PEERS=2 #optional | ||
| + | - PEERDNS=auto #optional | ||
| + | - INTERNAL_SUBNET=10.13.13.0 #optional | ||
| + | - ALLOWEDIPS=0.0.0.0/ | ||
| + | - PERSISTENTKEEPALIVE_PEERS=all #optional | ||
| + | - LOG_CONFS=true #optional | ||
| + | volumes: | ||
| + | - ./ | ||
| + | #- / | ||
| + | ports: | ||
| + | - 51820: | ||
| + | sysctls: | ||
| + | - net.ipv4.conf.all.src_valid_mark=1 | ||
| + | restart: unless-stopped</ | ||
| + | ++++ | ||
| + | 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:// | ||
| + | =====Tailscale===== | ||
| + | See Headscale. | ||
| + | ====Reference==== | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | =====Headscale===== | ||
| + | For my use case Headscale was too complicated to setup. | ||
| - | =====Wireguard===== | + | https:// |
| - | I previously successfully setup [[https://wiki.kptree.net/doku.php? | + | ====Reference==== |
| + | *[[https://headscale.net/stable/|headscale]] | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | | ||
| ---- | ---- | ||
| <- docker_notes: | <- docker_notes: | ||