3 let conf1 = "# Use the pagekite.net service defaults.
6 test Pagekite.lns get conf1 =
7 { "#comment" = "Use the pagekite.net service defaults." }
12 frontends = pagekite.freedombox.me
15 test Pagekite.lns get conf2 =
17 { "frontends" = "pagekite.freedombox.me" }
23 let conf3 = "frontend=pagekite.freedombox.me
26 test Pagekite.lns get conf3 =
27 { "frontend" = "pagekite.freedombox.me" }
28 { "host" = "192.168.0.3" }
31 let conf4 = "isfrontend
34 domain=http,https:*.your.domain:MakeUpAPasswordHere
36 test Pagekite.lns get conf4 =
44 { "domain" = "http,https:*.your.domain:MakeUpAPasswordHere" }
46 let conf_account = "kitename = my.freedombox.me
51 test Pagekite.lns get conf_account =
52 { "kitename" = "my.freedombox.me" }
53 { "kitesecret" = "0420" }
54 { "#comment" = "Delete this line!" }
55 { "abort_not_configured" }
59 service_on = raw/22:@kitename : localhost:22 : @kitesecret
60 service_on=http:192.168.0.1:127.0.0.1:80:
61 service_on=https:yourhostname,fqdn:127.0.0.1:443:
63 test Pagekite.lns get conf_service =
67 { "protocol" = "raw/22" }
68 { "kitename" = "@kitename" }
69 { "backend_host" = "localhost" }
70 { "backend_port" = "22" }
71 { "secret" = "@kitesecret" }
76 { "protocol" = "http" }
77 { "kitename" = "192.168.0.1" }
78 { "backend_host" = "127.0.0.1" }
79 { "backend_port" = "80" }
84 { "protocol" = "https" }
85 { "kitename" = "yourhostname,fqdn" }
86 { "backend_host" = "127.0.0.1" }
87 { "backend_port" = "443" }
92 let conf_encryption = "
93 frontend=frontend.your.domain:443
94 fe_certname=frontend.your/domain
95 ca_certs=/etc/pagekite.d/site-cert.pem
96 tls_endpoint=frontend.your.domain:/path/to/frontend.pem
98 test Pagekite.lns get conf_encryption =
100 { "frontend" = "frontend.your.domain:443" }
101 { "fe_certname" = "frontend.your/domain" }
102 { "ca_certs" = "/etc/pagekite.d/site-cert.pem" }
103 { "tls_endpoint" = "frontend.your.domain:/path/to/frontend.pem" }
106 let conf_service_cfg = "insecure
107 service_cfg = KITENAME.pagekite.me/80 : insecure : True
109 test Pagekite.lns get conf_service_cfg =
111 { "service_cfg" = "KITENAME.pagekite.me/80 : insecure : True" }