mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
add n2n
This commit is contained in:
parent
528f438ce9
commit
0fb1c8f69e
@ -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
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
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
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
|
Loading…
Reference in New Issue
Block a user