simpleProxy is a lightweight HTTP/HTTPS proxy server written in C. It supports forwarding both plain HTTP traffic and HTTPS CONNECT tunneling with basic authentication. It uses non-blocking sockets and efficient event handling to handle multiple clients simultaneously.
- Listens on a configured port for incoming client connections.
- Parses HTTP requests, including CONNECT method for HTTPS tunneling.
- Establishes connections to target servers on behalf of clients.
- Forwards data bidirectionally between clients and remote servers.
- Supports basic user authentication.
- Handles both HTTP requests and raw TCP forwarding for HTTPS.
- Logs basic connection and error information.
-
Download the latest .deb package from GitHub releases:
-
Go to the GitHub releases page of simpleProxy: https://github.com/julecko/simpleProxy/releases
-
Find the latest release and download the file named like: simpleproxy--Linux.deb
Example using wget (replace URL with actual latest .deb link):
wget https://github.com/julecko/simpleProxy/releases/download/<version>/simpleproxy-<version>-Linux.deb -
-
Install the downloaded .deb package:
sudo dpkg -i simpleproxy-<version>-Linux.deb -
Fix any missing dependencies (if needed):
sudo apt-get install -f -
Verify installation:
simpleproxy-conf --help -
Run initial setup:
sudo simpleproxy-conf setup -
Check service status:
systemctl status simpleproxy.service -
Configure your system or browser to use the proxy:
- The package includes the proxy binary and the simpleproxy-conf tool.
- Root permissions are required for setup and service management.
- For detailed usage, see 'simpleproxy-conf --help' or the command list under.
The simpleproxy-conf tool provides commands to configure, manage, and maintain your simpleProxy server easily.
-
setupInteractive setup of proxy configurations including port and database settings. Requires root privileges (use sudo). -
setup-serviceSets up and enables the systemd service for simpleProxy. -
migrateCreates necessary database tables for user management and other features. -
dropDrops all tables from the database (use with caution). -
resetDrops and recreates all tables, effectively resetting the database. -
add -u <username>Adds a new user to the proxy user database. You will be prompted for a password. -
remove -u <username>Removes an existing user from the database.
Examples
sudo simpleproxy-conf setup
sudo simpleproxy-conf setup-service
simpleproxy-conf migrate
simpleproxy-conf add -u john
simpleproxy-conf remove -u john
simpleproxy-conf reset