Transparent proxy to bridge between the internet and Yggdrasil network

Billy Barrow 784a046e20 Begin work on TUN interface 1 tahun lalu
src 784a046e20 Begin work on TUN interface 1 tahun lalu
.gitignore 42e6c41f0b Initial commit 1 tahun lalu
LICENSE 36a3310d27 Add forwarding modes, and XMPP support 1 tahun lalu
README.md 36a3310d27 Add forwarding modes, and XMPP support 1 tahun lalu
config 784a046e20 Begin work on TUN interface 1 tahun lalu

README.md

Astrogate

Astrologue uses the Yggdrasil network as a backbone of some of its peer-to-peer infrastructre. Astrogate allows configuring gateways that can forward traffic from the clear internet onto the Yggdrasil network and vice-versa following a simple configuration.

Currently supports forwarding the following protocols:

  • HTTP unencrypted HyperText Transfer Protcol
  • TLS raw Transport layer security, when SNI is present
  • XMPP eXtensable Messaging and Presence Protocol
  • Astrogate Dial simple header that can be passed at the start of a stream to connect (or "dial" into) a hostname
  • HTTP-01 Well Known intercept and redirect HTTP requests for the /.well-known directiory used by LetsEncrypt

When a connection is made to the Astrogate server, it reads data from the client, and uses pattern matching to determine what protocol the client is likely talking. It uses this information to attempt to read out an intended hostname from the data and tunnels the connection to the configured host.