software/pagekite

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.

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