Skip to content

Commit

Permalink
Prepare release 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gaomd committed Nov 27, 2015
1 parent b1196d3 commit 276e728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:14.04.3
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y upgrade \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install strongswan iptables uuid-runtime \
&& rm -rf /var/lib/apt/lists/* # cache busted 20151028.1
&& rm -rf /var/lib/apt/lists/* # cache busted 20151128.1

RUN rm /etc/ipsec.secrets

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# IKEv2 VPN Server running on Docker

Recipe to build [`gaomd/ikev2-vpn-server`](https://registry.hub.docker.com/u/gaomd/ikev2-vpn-server/):0.2.1 Docker image.
Recipe to build [`gaomd/ikev2-vpn-server`](https://registry.hub.docker.com/u/gaomd/ikev2-vpn-server/) Docker image.

## 1. Start the IKEv2 VPN Server

docker run -d --name ikev2-vpn-server --privileged -p 500:500/udp -p 4500:4500/udp gaomd/ikev2-vpn-server:0.2.1
docker run -d --name ikev2-vpn-server --privileged -p 500:500/udp -p 4500:4500/udp gaomd/ikev2-vpn-server:0.2.2

## 2. Generate a .mobileconfig file for iOS / OS X

*Replace `vpn1.example.com` with your own domain name and make sure it resolves to you server's IP address.*

docker run -i -t --rm --volumes-from ikev2-vpn-server -e "HOST=vpn1.example.com" gaomd/ikev2-vpn-server:0.2.1 generate-mobileconfig > ikev2-vpn.mobileconfig
docker run -i -t --rm --volumes-from ikev2-vpn-server -e "HOST=vpn1.example.com" gaomd/ikev2-vpn-server:0.2.2 generate-mobileconfig > ikev2-vpn.mobileconfig

This command generates an `ikev2-vpn.mobileconfig` file, transfer it to your local computer via SSH tunnel (`scp`) or any other secure methods.

Expand Down

0 comments on commit 276e728

Please sign in to comment.