GithubHelp home page GithubHelp logo

passuf / trichter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13 KB

Expose applications behind a NAT or firewall to a public domain with a valid TLS certificate. Uses SSH for tunneling and Cady to manage the TLS certificates.

Python 100.00%

trichter's Introduction

Trichter

Disclaimer

This project is currently work in progress. Only use at your own risk.

Prerequisites

  • You need a server with a public IP address.
  • You need to configure two DNS entries:
    • One for the trichter server, e.g. trichter.io
    • One for the tunnels, e.g. *.trichter.io
  • You need a client which is able to connect to the server via SSH.

Installation

Server

  1. Create a symlink for trichter: sudo ln -s /path/to/trichter/main.py /usr/local/bin/trichter
  2. Download the caddy release for your system and store the binary in ./bin/caddy.
  3. Make sure that trichter can bind to port 80 and 443, e.g. with setcap: sudo setcap 'cap_net_bind_service=+ep' ./bin/caddy
  4. Run the server: trichter server run

Client

  1. Create a symlink for trichter: sudo ln -s /path/to/trichter/main.py /usr/local/bin/trichter
  2. 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

Acknowledgements

trichter's People

Contributors

passuf avatar

Watchers

 avatar

trichter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.