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

https://github.com/stanislaw-am-i/tiny-socks5

Socks5 implementation using java.net.* and java.io.*
https://github.com/stanislaw-am-i/tiny-socks5

networking proxy proxy-server socks socks5 socks5-proxy socks5-server

Last synced: 3 months ago
JSON representation

Socks5 implementation using java.net.* and java.io.*

Awesome Lists containing this project

README

          

# tiny-socks5

A simple Socks5 implementation in Java utilizing the standard library.

### Prerequisites

* Java installed on your machine. The program was written with JDK 17.
* A terminal or command prompt for running the program.

### Download
You can download the program directly from the releases page:
```
wget https://github.com/stanislaw-am-i/tiny-socks5/releases/download/v0.1.0/tiny-socks5.jar
```

### Command Line Arguments
The program accepts the following command line arguments:

-a, --auth : Set authentication credentials in the format 'username:password'.
-h, --help: Display this help message.
-p, --port : Set the port for the server to listen on.

### Running the Program
To run the program with authentication credentials and a custom port, use the -a and -p options:
```
java -jar tiny-socks5.jar -a your_username:your_password -p 8080
```
If you don't specify authentication credentials, the program will run without authentication:
```
java -jar tiny-socks5.jar -p 8080
```
Replace `8080` with the port number you want to use.