Mercurial > Pritunl-Fake-API
comparison docs/docker/pritunl-patched-install.md @ 0:b51518614818 default tip
New Files
author | Pluto <meokcin@gmail.com> |
---|---|
date | Tue, 03 Sep 2024 15:57:25 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b51518614818 |
---|---|
1 # Fully Patched Pritunl: Using Docker | |
2 | |
3 ## Only installs the API (webserver) and not the Pritunl VPN itself. | |
4 You need to have docker up and running on your server. | |
5 | |
6 This uses the docker image for Pritunl by `goofball222/pritunl` and installs the fake api hooks directly into it. | |
7 | |
8 | |
9 Step: | |
10 | |
11 - In your server, clone this repo, then `cd` to the cloned folder. | |
12 - Go to the `docker` folder of the repo. | |
13 - Read the `<repo_root>/docker/docker-compose.yml` file carefully and edit to fit your needs (ports, volumes, network, server domain...) | |
14 - Run the `docker-compose.yml` file in daemon mode with: | |
15 | |
16 `docker-compose up -d` | |
17 | |
18 - This will `docker build` the patched pritunl container and run it on the following ports: | |
19 - Under this port the Pritunl web interface will be exposed (for reverse proxies) | |
20 | |
21 *9700:9700* | |
22 | |
23 - The following are the two default ports for the tcp+udp servers (you may edit these as needed!) | |
24 | |
25 *1194:1194* | |
26 | |
27 *1194:1194/udp* | |
28 |