Git Product home page Git Product logo

https-proxy's Introduction

HTTPS Proxy

A transparent HTTP proxy server designed to run on Raspberri Pi and redirect requests based on EFF's HTTPS Everywhere ruleset.

This project is in a working state, but still largely unfinished.

Installation

sudo apt install python-sqlite python-lxml python-regex nginx-light

Apply the nginx.conf snippet from this project somewhere in your nginx configuration.

Set up iptables so that outgoing HTTP requests are routed through the proxy. Example commands for an external router (10.0.1.1) routing to a raspi running the proxy on port 81 (10.0.1.53).

iptables -t nat -A PREROUTING -s 10.0.1.0/24 -p tcp --dport 80 \
    -j DNAT --to 10.0.1.53:81
iptables -t nat -A POSTROUTING -s 10.0.1.0/24 -d 10.0.1.53 -p tcp \
    --dport 81 -j SNAT --to 10.0.1.1

Configuration

The configuration file https-proxy.cfg is read on startup.

The following settings are available

rules = ./https-everywhere/rules
database = /dev/shm/https-proxy.sqlite
database_persist = /var/lib/https-proxy.sqlite
rule_extensions = .xml,.XML

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.