Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows support #208

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile.openvpn
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM alpine:3.16
RUN apk add --update bash openvpn easy-rsa iptables && \
RUN apk add --update bash openvpn easy-rsa iptables git && \
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
wget https://github.com/pashcovich/openvpn-user/releases/download/v1.0.4/openvpn-user-linux-amd64.tar.gz -O - | tar xz -C /usr/local/bin && \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
COPY setup/ /etc/openvpn/setup
RUN git clone https://github.com/flant/ovpn-admin.git /tmp/ovpn-admin
RUN cp -r /tmp/ovpn-admin/setup /etc/openvpn/setup

RUN chmod +x /etc/openvpn/setup/configure.sh
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,18 @@ You need [Docker](https://docs.docker.com/get-docker/) and [docker-compose](http

Commands to execute:

* bash
```bash
git clone https://github.com/flant/ovpn-admin.git
cd ovpn-admin
./start.sh
```
* powershell
```bash
git clone https://github.com/flant/ovpn-admin.git
cd ovpn-admin
./start.ps1
```
#### 1.1
Ready docker images available on [Docker Hub](https://hub.docker.com/r/flant/ovpn-admin/tags)
. Tags are simple: `$VERSION` or `latest` for ovpn-admin and `openvpn-$VERSION` or `openvpn-latest` for openvpn-server
Expand Down
1 change: 1 addition & 0 deletions start.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker-compose -p openvpn-master up -d --build