Wrap socket in AES encryption
Go to file
2024-04-23 15:55:11 +02:00
aes-tunnel Reduce importance of TCP_NODELAY message 2024-04-23 15:55:11 +02:00
LICENSE Add LICENSE 2024-03-29 23:32:42 +01:00
README.txt Add support for TCP_NODELAY 2024-04-23 15:49:12 +02:00

Wrap socket in AES encryption. Python 3.4+ (Linux, Windows XP+)

Example, HTTP server:
* On the server:
  * Run a HTTP server on 127.0.0.1:80
  * Run: TUNNEL_ENCRYPT=in TUNNEL_IN_HOST="0.0.0.0" TUNNEL_IN_PORT=81 TUNNEL_OUT_HOST="127.0.0.1" TUNNEL_OUT_PORT=80 TUNNEL_ENC_PASS="mypass" ./aes-tunnel

* On the client:
  * Run: TUNNEL_ENCRYPT=out TUNNEL_IN_HOST="127.0.0.1" TUNNEL_IN_PORT=82 TUNNEL_OUT_HOST="example.com" TUNNEL_OUT_PORT=81 TUNNEL_ENC_PASS="mypass" ./aes-tunnel
  * Connect browser to 127.0.0.1:82

Additional functionality:
* TUNNEL_NODELAY: If set to any value, TCP_NODELAY is enabled