https://github.com/alexander-akhmetov/tproxy
Simple SOCKS5 proxy for the Telegram
https://github.com/alexander-akhmetov/tproxy
proxy socks5 telegram
Last synced: 2 months ago
JSON representation
Simple SOCKS5 proxy for the Telegram
- Host: GitHub
- URL: https://github.com/alexander-akhmetov/tproxy
- Owner: alexander-akhmetov
- Created: 2018-04-17T17:08:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-23T17:10:42.000Z (about 8 years ago)
- Last Synced: 2025-01-17T00:52:45.568Z (over 1 year ago)
- Topics: proxy, socks5, telegram
- Language: Go
- Size: 2.93 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tproxy
Simple SOCKS5 proxy with user-password authentication.
[Docker Hub](https://hub.docker.com/r/akhmetov/tproxy/)
## Start
To start just run:
```sh
docker run --rm \
--name socks5 \
-p 0.0.0.0:1080:1080 \
-e SOCKS5_LISTEN=0.0.0.0:1080 \
-e SOCKS5_USERNAME=user_1 \
-e SOCKS5_PASSWORD=pass_1 \
akhmetov/tproxy
```
Do not forget to allow this port (`1080`) in your providers firewall.
## Build docker container
To build a container and start:
```sh
make build-docker
docker run --rm \
--name socks5 \
-p 0.0.0.0:1080:1080 \
-e SOCKS5_LISTEN=0.0.0.0:1080 \
-e SOCKS5_USERNAME=user_1 \
-e SOCKS5_PASSWORD=pass_1 \
socks5
```
And now you can connect to `127.0.0.1:1080` with `user_1:pass_1`.