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.*
- Host: GitHub
- URL: https://github.com/stanislaw-am-i/tiny-socks5
- Owner: stanislaw-am-i
- License: mit
- Created: 2023-09-04T21:03:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T05:20:04.000Z (almost 2 years ago)
- Last Synced: 2025-10-13T11:16:13.158Z (3 months ago)
- Topics: networking, proxy, proxy-server, socks, socks5, socks5-proxy, socks5-server
- Language: Java
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.