2015-07-07 13:26:33 +02:00
|
|
|
data:
|
|
|
|
image: busybox
|
|
|
|
volumes:
|
|
|
|
- /etc/openvpn
|
|
|
|
|
|
|
|
server:
|
2015-09-01 03:53:21 +02:00
|
|
|
image: vimagick/openvpn
|
|
|
|
expose:
|
|
|
|
- "1194/tcp"
|
2015-07-07 13:26:33 +02:00
|
|
|
volumes_from:
|
|
|
|
- data
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
restart: always
|
|
|
|
|
2015-09-03 04:55:21 +02:00
|
|
|
################################### SERVER ###################################
|
|
|
|
|
2015-09-01 03:53:21 +02:00
|
|
|
fteproxy:
|
|
|
|
image: vimagick/fteproxy
|
|
|
|
ports:
|
|
|
|
- "4911:4911"
|
|
|
|
links:
|
|
|
|
- "server"
|
|
|
|
environment:
|
|
|
|
- "MODE=server"
|
|
|
|
- "SERVER_IP=0.0.0.0"
|
|
|
|
- "SERVER_PORT=4911"
|
|
|
|
- "PROXY_IP=server"
|
|
|
|
- "PROXY_PORT=1194"
|
|
|
|
- "KEY=66754b8113ea7a218b7613f73f7e13b1e91790216f659b5f78b903b34c654741"
|
|
|
|
restart: always
|
2015-09-03 04:55:21 +02:00
|
|
|
|
|
|
|
################################### CLIENT ###################################
|
|
|
|
#
|
|
|
|
#fteproxy:
|
|
|
|
# image: vimagick/fteproxy
|
|
|
|
# ports:
|
|
|
|
# - "1194:1194"
|
|
|
|
# environment:
|
|
|
|
# - "MODE=client"
|
|
|
|
# - "SERVER_IP=vpn.datageek.info"
|
|
|
|
# - "SERVER_PORT=4911"
|
|
|
|
# - "CLIENT_IP=0.0.0.0"
|
|
|
|
# - "CLIENT_PORT=1194"
|
|
|
|
# - "KEY=66754b8113ea7a218b7613f73f7e13b1e91790216f659b5f78b903b34c654741"
|
|
|
|
# restart: always
|
|
|
|
#
|
|
|
|
##############################################################################
|