Giter Club home page Giter Club logo

tgsocksproxy's Introduction

Async socks proxy

Fast and simple to setup socks proxy. By default only Telegram networks are permitted.

Starting up

  1. git clone https://github.com/alexbers/tgsocksproxy.git; cd tgsocksproxy
  2. (optional, recommended) edit config.py, set USERS and PORT
  3. docker-compose up --build -d (or just python3 tgsocksproxy.py if you don't like docker)
  4. (optional, shows telegram link to set the proxy) docker-compose logs

tgsocksproxy's People

Contributors

alexbers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tgsocksproxy's Issues

Не запускается

[root@tgsocksproxy]# python3 /opt/tgsocksproxy/tgsocksproxy.py
tg://socks?server=YOUR_IP&port=3255&user=tg&pass=pass
tg://socks?server=YOUR_IP&port=3255&user=tg2&pass=pass2
Traceback (most recent call last):
  File "/opt/tgsocksproxy/tgsocksproxy.py", line 314, in <module>
    main()
  File "/opt/tgsocksproxy/tgsocksproxy.py", line 297, in main
    server = loop.run_until_complete(task)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/asyncio/streams.py", line 85, in start_server
    return await loop.create_server(factory, host, port, **kwds)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BaseEventLoop.create_server() got an unexpected keyword argument 'loop'
[root@tgsocksproxy]# python3 -V
Python 3.11.4
[root@tgsocksproxy]# python -V
Python 3.11.4

ОС CentOS 8

Does Not work with some ISPs

Hi
I ran the script, but it does not connect on some ISPs (a few)
I tested Dante socks and it worked
Could you please make a change in the DPI of this script? I need this Python, It suits my needs better than Dante

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.