Closed AtrejaAlwinnen closed 4 months ago
The problem has been solved. I had to start the container as privileged.
Make sure the container has the NET_ADMIN
capability. Older kernels might also need SYS_MODULE
as well. Full privileged mode shouldn't be needed.
services:
vpn:
image: thrnz/docker-wireguard-pia
volumes:
- pia-dat:/pia
cap_add:
- NET_ADMIN
environment:
- LOC=swiss
- USER=xxxx
- PASS=xxxx
volumes:
pia-dat:
I should probably add a note about it to the readme. It's already in the examples, but wouldn't hurt to mention it there too.
I use docker under unraid. If I enter PORT_FORWARDING as a parameter, no port forwarding is displayed in the configuration.
Maybe I missed something here?