1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
This commit is contained in:
kev 2019-05-30 19:39:48 +08:00
parent 528f438ce9
commit 0fb1c8f69e
4 changed files with 35 additions and 0 deletions

@ -227,6 +227,7 @@ A collection of delicious docker recipes.
## VPN
- [x] n2n :+1:
- [x] ocserv :+1:
- [x] openconnect
- [x] openconnect-arm

20
n2n/Dockerfile Normal file

@ -0,0 +1,20 @@
#
# Dockerfile for n2n
#
FROM debian:stretch
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update \
&& apt install -y gnupg lsb-release wget \
&& wget http://apt.ntop.org/stretch/all/apt-ntop.deb \
&& dpkg -i apt-ntop.deb \
&& apt update \
&& apt install -y n2n \
&& rm -rf apt-ntop.deb /var/lib/apt/lists/*
EXPOSE 5645/udp # management
EXPOSE 7654/udp # main
ENTRYPOINT ["supernode"]

8
n2n/README.md Normal file

@ -0,0 +1,8 @@
n2n
===
[n2n][1] is a layer-two peer-to-peer virtual private network (VPN) which allows
users to exploit features typical of P2P applications at network instead of
application level.
[1]: https://www.ntop.org/products/n2n/

6
n2n/docker-compose.yml Normal file

@ -0,0 +1,6 @@
n2n:
image: vimagick/n2n
ports:
- "5645:5645/udp"
- "7654:7654/udp"
restart: unless-stopped