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 12:48] – [Tailscale] 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===== | =====Wireguard===== | ||
- | I previously successfully setup [[https:// | + | I previously successfully setup [[https:// |
- | =====Tailscale===== | + | 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/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</ | ||
+ | ++++ | ||
+ | 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==== | ====Reference==== | ||
*[[https:// | *[[https:// | ||
Line 21: | Line 71: | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
- | | ||
=====Headscale===== | =====Headscale===== | ||
+ | For my use case Headscale was too complicated to setup. | ||
+ | https:// | ||
+ | ====Reference==== | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
---- | ---- | ||
<- docker_notes: | <- docker_notes: |