Last edited:
Nope, I didn't change anything in the gluetun service.
This is the compose code that I used a while back to set up glueten as a stack in portainer:
This is the compose code that I used a while back to set up glueten as a stack in portainer:
Code:
version: "3.5"
services:
vpn:
image: qmcgaw/gluetun
container_name: gluetun-wireguard
cap_add:
- net_admin
devices:
- /dev/net/tun
environment:
- VPN_SERVICE_PROVIDER=surfshark
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=[key]
- WIREGUARD_ADDRESSES=10.14.0.2/16
- SERVER_COUNTRIES=Netherlands
ports:
- 8080:8080
- 6881:6881
- 6881:6881/udp
restart: always