annotate README.md @ 0:b51518614818 default tip

New Files
author Pluto <meokcin@gmail.com>
date Tue, 03 Sep 2024 15:57:25 +0800
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
1 # What is this? #
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
2 This neat script provides a little fake API to unlock all premium/enterprise/enterprise+ (here called ultimate) features of your own Pritunl VPN server. If Pritunl wouldn't be mostly free already, you could call this a crack. An Open Source crack.
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
3
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
4 ## How to setup (server) ##
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
5 Take a look into the `server` folder: You _could_ use the Pritunl source there (or just download this specific version from their GitHub repo) to compile a guaranteed compatible version for this API or just download any other version of the Pritunl server and try your luck.
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
6 Then you'll need to execute the `setup.py` script (preferable as `root`, as it needs to modify the Pritunl files directly).
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
7 After that log in into the dashboard - there should be a "Update Notification":
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
8
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
9 ![login-msg](docs/login-msg.png)
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
10
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
11 Now try to enter any serial key for your subscription and just follow the hints/notes if you enter an invalid command:
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
12
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
13 ![enter-something](docs/enter-something.png)
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
14
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
15 A valid command would be `bad premium` or `active ultimate`:
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
16
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
17 ![active-ultimate](docs/active-ultimate.png)
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
18
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
19 If everything worked, your subscription should now look like this:
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
20
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
21 ![done](docs/done.png)
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
22
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
23 Make sure to support the developers by buying the choosen subscription for your enterprise or company!
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
24
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
25 ## How to setup (api) (optional) ##
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
26 This is _optional_. You can simply use the default instance of this API (host is noted inside the `setup.py` script) and profit from "automatic" updates.
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
27
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
28 ## API Only: Using Apache
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
29 Just transfer the `www` files inside a public accessible root-folder on your _dedicated_ Apache webserver (really everthing with PHP support works). Also make sure your instance has a valid SSL-certificate (Let's encrypt is enough), otherwise it may won't work.
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
30 An example Apache install process can be found [here](docs/apache/install.md). If you want to test your instance, just open the public accessible URI in your browser and append `/healthz` to it - if you see some JSON with the text, then everything worked!
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
31
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
32 ### API Only: Using Nginx
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
33 Just transfer the `www` files inside a public accessible root-folder on your _dedicated_ Nginx webserver (really everthing with PHP support works). Also make sure your instance has a valid SSL-certificate (Let's encrypt is enough), otherwise it may won't work.
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
34 See the documentation in [Nginx Install](docs/nginx/install.md).
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
35
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
36 ### API Only: Using Docker
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
37 See the documentation in [Docker Install](docs/docker/api-only-install.md).
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
38
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
39 ### Fully Patched Pritunl: Using Docker
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
40 This api has also its own docker image. Take a look into the `docker` folder and enjoy!
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
41
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
42 See the documentation in [Patched Pritunl Docker Install](docs/docker/pritunl-patched-install.md).
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
43
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
44 ### Nett2Know ###
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
45 * This modification will also block any communication to the Pritunl servers - so no calling home :)
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
46 * SSO will not work with this api version! As Pritunls own authentication servers handle the whole SSO stuff, track instance ids and verify users, I won't implement this part for privacy concerns (and also this would need to be securly implemented and a database).
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
47
b51518614818 New Files
Pluto <meokcin@gmail.com>
parents:
diff changeset
48 Have fun with your new premium/enterprise/ultimate Pritunl instance!