Skip to content

pgastinger/proxyscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxyscript

Why

We are running a shared proxy cluster with approx. 30000 users and 20 different customers. Each customer has it's own requirements (customer related exceptions) and therefore it's own proxy script (PAC-file). These files used to be static files served by an Apache web server cluster. For new entries or changes, vi was used to edit these files directly on the webserver. This method was rather error-prone, hard to manage and tracking changes was difficult. As an alternative, this interface was built. It is not necessary to have SSH-access to the productive web server, multiple changes can be made easily and no more vi typos.

Description

This web2py-interface is a rather simple gui for creating customer specific proxy pac files. The interface runs on any recent Linux-distribution (Python 2.7 preferred) and is basically just a generator, which runs on my raspberry pi. After generating the proxy script, it can be copied to a redundant LAMP-webserver where it will be fetched by the actual proxy clients. Following components are used for that:

By default, a sqlite-database is used (which can easily changed to either MySQL, ...). Authentication is local only, but this can also easily changed to a LDAP authentication against a Microsoft Active Directory.

Demo

A demo with sample data is running at:

Quick Start

  • define destination
  • define customer
  • add entries (mapping destination - customer)
  • check with PAC-File tester / take a look at the generated file
  • copy PAC-File to server

Screenshots

  • Overview of active customers image
  • PAC-File Tester image

Support

I may not have time for support, but if you are interested or if you have questions, just send me an email. (peter.gastinger@gmail.com)

About

Proxyscript generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published