Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tetafro/socks5

SOCKS5 proxy server
https://github.com/tetafro/socks5

Last synced: 11 days ago
JSON representation

SOCKS5 proxy server

Awesome Lists containing this project

README

        

# SOCKS5 Proxy Server

[![Go Report](https://goreportcard.com/badge/github.com/tetafro/socks5)](https://goreportcard.com/report/github.com/tetafro/socks5)
[![Release](https://img.shields.io/github/tag/tetafro/socks5.svg)](https://github.com/tetafro/socks5/releases)

SOCKS5 proxy server with password authentication. This is a simple wrapper
around [go-socks5](https://github.com/armon/go-socks5) library.

## Run

Build and run (server will listen on `0.0.0.0:1080` by default)
```sh
go get -u github.com/tetafro/socks5
socks5 -user bob -password qwerty
```

You can also use `-host` and `-port` flags to bind the server to particular address.
```sh
socks5 -host 127.0.0.1 -port 8080 -user bob -password qwerty
```

## Run docker

Get docker [image](https://hub.docker.com/r/tetafro/socks5/) and run proxy
server in container on port 8088
```sh
docker run --detach \
--publish 8088:1080 \
--name socks5 \
ghcr.io/tetafro/socks5 \
sh -c '/app/socks5 -username bob -password qwerty'
```