Share
Embed
Transcript
16 slides
-
3 (Or Whatever) Ways to Put Something on The Internet
“Total reverse of the proxy” Philip James, PyBeach 2026 -
You’ve built something! Congratudolences • You need other people to
use th t thing • You re lly re lly re lly re lly re lly don’t w nt to expose your home server to the open internet a whole server for e ch a a a a a a a a a a • You don’t w nt to h ve to provision thing you build -
Reverse Proxy In Soviet Russia… You You You You You
Proxy Internet Server Internet Reverse Proxy Server You You You -
Caddy • You h ve server running t port 9005.
a a a a Does this need to be loc lhost? -
Caddy met b se.civic.org { reverse_proxy met b se-host:3030 }
gr f n .civic.org { reverse_proxy gr f n -host:3000 } a a a a a a a a a a records.other.site { reverse_proxy records-host:8005 } -
ngrok A reverse proxy that lives in the cloud •
You run little gent on your m chine • Lets you point the internet t your loc l m chine, “s fely” a a a a a a a a • Free, if you use their dom ins -
version: "3" gent: uthtoken: look_ _secret_key a a a a
a endpoints: - n me: rqd sh url: https://rq.civic.town upstre m: url: loc lhost:9181 a a ngrok -
version: "3" gent: uthtoken: look_ _secret_key a a a a
endpoints: - n me: rqd sh url: https://rq.civic.town upstre m: url: rq-host:9181 a a ngrok -
version: "3" gent: uthtoken: look_ _secret_key a a a a
a f a a a ff a a endpoints: - n me: rqd sh url: https://rq.civic.town upstre m: url: rq-host:9181 tr ic_policy: on_http_request: - ctions: - type: openid-connect con ig: issuer_url: 'https:// uth.civic.org' uth_id: 'civic-town-rq' client_id: ‘look_ _client_id’ client_secret: ‘look_ nother_secret_key’ a a ngrok -
tailscale wireguard for people who don’t do devops • You
run little gent on ll your m chines • You c n now connect to them nywhere • Like LAN, cross the internet a a a a a a a a a a a • T ilsc le funnel kind works like ngrok -
Putting it together “(Or whatever)” met b se.civic.org { reverse_proxy
met b se-host:3030 } gr f n .civic.org { reverse_proxy gr f n -host:3000 } a a a a a a a a a a records.other.site { reverse_proxy records-host:8005 } -
Putting it together “(Or whatever)” met b se.civic.org { reverse_proxy
met b se-host.network-n me.ts.net:3030 } gr f n .civic.org { reverse_proxy gr f n -host.network-n me.ts.net:3000 } a a a a a a a a a a a a a records.other.site { reverse_proxy records-host.network-n me.ts.net:8005 } -
“(Or whatever)” version: "3" gent: uthtoken: look_ _secret_key a a
a a a a f a a a ff a a endpoints: - n me: rqd sh url: https://rq.civic.town upstre m: url: rq-host.network-n me.ts.net:9181 tr ic_policy: on_http_request: - ctions: - type: openid-connect con ig: issuer_url: 'https:// uth.civic.org' uth_id: 'civic-town-rq' client_id: ‘look_ _client_id’ client_secret: ‘look_ nother_secret_key’ a a Putting it together -
Go forth! • The network is the ultim te glue
l yer. Use it s such! • You c n mix nd m tch http routing tech. It’ll (mostly) be ine. f a a a a a a • The internet needs your thing. -
3 (Or Whatever) Ways to Put Something on The Internet
“Total reverse of the proxy” Philip James, @[email protected], @phildini.net, https://civic.band