File size: 460 Bytes
0635d06 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
version: '3.8'
services:
ikev2_server:
build: .
container_name: pure_python_ikev2_server
# The server needs to listen on UDP ports 500 and 4500
ports:
- "500:500/udp"
- "4500:4500/udp"
# To handle IPsec/VPN traffic, the container often needs to run in
# privileged mode and/or with NET_ADMIN capability.
# This is a common requirement for VPN servers in containers.
cap_add:
- NET_ADMIN
restart: always
|