Fix role_deploy_temp_openvpn-server.

This commit is contained in:
yohan 2024-09-29 17:49:26 +02:00
parent a0b42b2233
commit 53144cddaa

View File

@ -41,18 +41,30 @@
command:
- --mode
- p2p
- --topology p2p
- --proto udp
- --port 1194
- --dev tun
- --ifconfig 192.168.103.1 192.168.103.2
- --keepalive 10 120
- --topology
- p2p
- --proto
- udp
- --port
- 1194
- --dev
- tun
- --ifconfig
- 192.168.103.1
- 192.168.103.2
- --keepalive
- 10
- 120
- --persist-tun
- --persist-key
- --comp-lzo yes
- --cipher AES-256-CBC
- --config /etc/openvpn/server/server.conf
- --secret /etc/openvpn/temp-p2p-shared.key
- --comp-lzo
- yes
- --cipher
- AES-256-CBC
- --config
- /etc/openvpn/server/server.conf
- --secret
- /etc/openvpn/temp-p2p-shared.key
cap_add:
- NET_ADMIN
device: /dev/net/tun