Skip to content

shinevit/dante-alphine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Socks5 proxy server based on Alpine Docker image and Dante server

What is this

This is a smallest images of Alphine os with preinstelled Dante socks5 sever. Main aim of It is accessing for Telegram clients free. But there is not any restriction to use for another puprose. Keept Its easy with added scripts.

Dante Socks5 implements RFC 1928 and related standards. Dante server provides several benefits, including security and TCP/IP termination (no direct contact between hosts inside and outside of the customer network), resource control (bandwidth, sessions), logging (host information, data transferred), and authentication

Requirements

Required docker, docker-compose to install

How to use

There are some useful scripts to work easy. Like building an image, start up our container, add and delete user, list users.

Build at first:

 $ cd ./docker && sh ./build.sh

Wait for a while. And you will get a linux image of size 13.9 MB.

Run docker container at the root dir:

 $ cd .. && ./start.sh

Change its configuration by mounting a custom /etc/sockd.conf (see sample config files).

Set up one user at least. Look how to set up authentication below.

Authentication set up

By default this image doesn't allow anyone to use the proxy. You should add a simple authentication (which will send data unencrypted) by running a script at host system like:

 $ ./adduser.sh someuser

Gets a user password generated randomly. Copy and use It.

Client-side set up

Let's check in how to work proxy.

 $ curl -v -x socks5://someuser:password@server_address:1080 https://t.me

It should produce a succesfull answer like "HTTP/1.1 302 Found".

WARNING: Many browsers do not support SOCKS authentication so SOCKS v4 will be blocked.

And finally run at your browser to set up the proxy for Telegram client:

https://t.me/socks?server=159.89.212.102&port=1080&user=github&pass=xgKdT3dn

You can use my ready server as is.

Feedbacks

Suggestions are welcome to my GitHub issue tracker.

About

Socks5 proxy for Docker based on dante

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages