Giter Club home page Giter Club logo

teletun's Introduction

Teletun - IP over Telegram

Have you ever wanted to transfer IP traffic over an instant messenger? Wanted to test the capabilities of Telegram?

What do you mean by "no", of course you have! So here you go, take it and have fun!

Install instructions

Install the telegram-cli package (using snap for example).

Run an instance of telegram-cli using the following line:

telegram-cli --json -P 4458

(Make sure that -P is capital, half an hour of debugging was wasted on that already)

Install dependencies:

pip install python-pytun pytg

Download the python script. Run the python script. Pray to the gods for mercy.

Note that one has to call it as-is while the other has to pass --server to the script. The other client will then be available at 10.8.0.1 or 10.8.0.2 depending on your side.

This also requires root on many platforms, as ridiculous as it sounds. Only tested on Ubuntu.

Performance

Not that it really matters (you didn't think you're going to use this in anything serious, did you?), but actually, performance is not too bad.

Bandwidth is quite limited of course, but you can get a Ping as low as 100-150 ms. I guess they didn't lie when they called it Instant Messenger.

MIT License

(C) Stefan Reiter 2017

Full license text can be found in the file called LICENSE in this Repositories root.

But please do me the favor and don't ever use this thing. It's quite horrible.

teletun's People

Contributors

pimaker avatar

Watchers

James Cloos avatar Nikita Popov avatar

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.