-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (23 loc) · 822 Bytes
/
docker-compose.yml
File metadata and controls
25 lines (23 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: "2.1"
services:
openvpn-as:
image: openvpn/openvpn-as
container_name: openvpn-as
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- NET_ADMIN
- MKNOD
ports:
# 943: The web UI for Admin and User portals.
# Mapped exclusively to 127.0.0.1 on the Mac for security (access via SSH tunnel).
- 127.0.0.1:943:943
# 8443: Our custom public TCP port for VPN client connections.
# Replaces the default port 443 so we don't block standard secure web traffic.
- 8443:8443
# 1194/UDP: The standard OpenVPN UDP port.
# Still exposed but susceptible to Mac/OrbStack NAT DNS packet dropping bugs without custom routes.
# - 1194:1194/udp
volumes:
- ${HOME}/.local/share/my-vpn/openvpn-data:/openvpn
restart: unless-stopped