blob: bfd9c2942bab74594f2572aa1f058e0fb7077754 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Below is a very simple "self-hosted" PageKite front end setup, for use when
default ports are taken. The good docs are in PageKite's [github repo](https://github.com/pagekite/PyPagekite/tree/main/doc).
On the front end (globally accessible server with wildcard DNS), edit
``~/.pagekite.rc`` and then run ``pagekite`` as any user:
kitename = *.HOST.DOMAIN
kitesecret = SOMEPW
isfrontend
host = HOSTDOMAINIP
ports = 7777,8080,MOREPORTS
protos = finger,http,http2,http3,httpfinger,https,irc,raw,websocket
domain = http-8080:*.HOST.DOMAIN:SOMEPW
domain = ssh-7722:*.HOST.DOMAIN:SOMEPW
logfile = ./pagekite.log
On the back end (firewalled laptop):
kitename = KITENAME.HOST.DOMAIN
kitesecret = SOMEPW
frontend = HOSTDOMAINIP:7777
service_on = http/8080:KITENAME.HOST.DOMAIN:localhost:8080:SOMEPW
logfile = pagekite.log
|