Skip to content

Instantly share code, notes, and snippets.

@behroozam
Created January 3, 2018 10:42
Show Gist options
  • Save behroozam/0085c9638f24e8aaad379b4a8c81898f to your computer and use it in GitHub Desktop.
Save behroozam/0085c9638f24e8aaad379b4a8c81898f to your computer and use it in GitHub Desktop.
docker-compose.yml
version: '2'
services:
ocserv:
image: tommylau/ocserv
ports:
- '443:443'
environment:
CA_CN: VPN CA
CA_ORG: Big Corp
CA_DAYS: '9999'
SRV_CN: your server ip address
SRV_ORG: My Company
SRV_DAYS: '9999'
networks:
- vpn-network
networks:
vpn-network:
driver: bridge
@ALIrezanouri
Copy link

دقیقا اینو چجوری رانش کنیم ؟ ضمن تشکرات فراوان

@behroozam
Copy link
Author

@ALIrezanouri کافیه یه سروری داشته باشین که روش داکر کامپوز و داکر نصب باشه
این فایل رو دانلود کنید و بزنید
docker-compose up -d
سرویس بالا میاد بعد میتونید با کلاینت
any connect or openconnect
بهش وصل بشین

@ALIrezanouri
Copy link

مرسی بهروز جان

@eXtrem0us
Copy link

I think it would be great if you add:
privileged: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment