Transparent proxy to bridge between the internet and Yggdrasil network

Billy Barrow 784a046e20 Begin work on TUN interface 1 жил өмнө
src 784a046e20 Begin work on TUN interface 1 жил өмнө
.gitignore 42e6c41f0b Initial commit 1 жил өмнө
LICENSE 36a3310d27 Add forwarding modes, and XMPP support 1 жил өмнө
README.md 36a3310d27 Add forwarding modes, and XMPP support 1 жил өмнө
config 784a046e20 Begin work on TUN interface 1 жил өмнө

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.