fix dev tun and sysctl ip_forward error

This commit is contained in:
Антон
2026-02-07 14:07:47 +03:00
parent f9df3f8d05
commit 6131bcaba9
2 changed files with 9 additions and 9 deletions

View File

@@ -59,7 +59,10 @@ services:
container_name: ovp-profiler
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.ip_forward=1
devices:
- "/dev/net/tun:/dev/net/tun"
ports:
- "8000:8000"