Skip to content

arknable/fwdproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Forward Proxy

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

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.

Default User

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

Log messages is written to $HOME/.fwdproxy/output.log.

License

This project is licensed under the BSD 3 License - see the LICENSE file for details.

About

A simple forward proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages