A lightweight and efficient proxy server designed to forward requests to a single destination server. Perfect for managing IP-bound http proxies across various devices.
- Authentication: Incoming requests are authenticated by validating the username and password.
- Rate Limiting: Option to limit the amount of data used per username.
- Thread-Safe Mapping: Thread-safe map to store and manage users.
- Request Logging: Log details about each request.
-
Clone the repository:
git clone https://github.com/fxnatic/proxy-server.git cd proxy-server
-
Install dependencies:
go mod tidy
-
Create
proxies.txt
file and add your proxies to it (ip:port or ip:port:user:pass). -
Run the server:
go run main.go
This project is licensed under the MIT License.