Rather than handling requests by itself, this proxy forwards requests to external proxy. For testing and default configuration, it uses Tinyproxy, but it should works with other similar proxy server as well.
Configuration saved in $HOME/.fwdproxy/config.conf
file using JSON format as follows,
{
"port": "8000",
"proxy": {
"address": "127.0.0.1",
"port": "8888",
"username": "test",
"password": "testpassword"
}
}
- port. Server port to listen HTTP request.
- proxy. External proxy configuration.
- address. Address of external proxy.
- port. Port of external proxy.
- username.
Proxy-Authorization
's user - password.
Proxy-Authorization
's password.
By default, access requires Proxy-Authorization
. Credential informations kept in $HOME/.fwdproxy/users.db
using bolt database. On first use, a default user created as follows,
- Username:
admin
- Password:
4dm1n
More user can be added directly to database file.
Log messages is written to $HOME/.fwdproxy/output.log
.
This project is licensed under the BSD 3 License - see the LICENSE file for details.