This project is currently work in progress. Only use at your own risk.
- You need a server with a public IP address.
- You need to configure two DNS entries:
- One for the
trichterserver, e.g.trichter.io - One for the tunnels, e.g.
*.trichter.io
- One for the
- You need a client which is able to connect to the server via SSH.
- Create a symlink for
trichter:sudo ln -s /path/to/trichter/main.py /usr/local/bin/trichter - Download the
caddyrelease for your system and store the binary in./bin/caddy. - Make sure that
trichtercan bind to port 80 and 443, e.g. withsetcap:sudo setcap 'cap_net_bind_service=+ep' ./bin/caddy - Run the server:
trichter server run
- Create a symlink for
trichter:sudo ln -s /path/to/trichter/main.py /usr/local/bin/trichter - Assuming you want to expose a local application running on port 8080 and you want to expose it using the domain test.trichter.io, run
trichter tunnel --port 8080 --domain test.trichter.io --server trichter.io
- Anders Pitman, who inspiried this project with SirTunnel.
- Caddy, which powers the proxy server with automatic HTTPS.