Skip to content

torservers/torfilter_ynh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TorFilter

Overview

TorFilter app for YunoHost.

Install Tor and broadcasting it through a wifi hotspot. By default user connected on this wifi are not able to access to Internet except by installing a tor software on their computer (Torbrowser or Tails for instance). You can authorized device to access to Internet through the web interface. These devices will access to internet through the internal tor client of the internet cube. If someone was connected to the Tor wifi, he doesn't have a tor application on his computer, and is not allowed to access to Internet, he will be redirect to a captive portal.

Schema with an iptables point of view:

                                                                                                   .--.               
                                                                                               _ -(    )- _           
                                                                                          .--,(            ),--.      
                                                                                      _.-(                       )-._ 
                                                                  .----------------> (           INTERNET            )
                                                   .-----------.  |                   '-._(                     )_.-' 
                        .------------------------->| tor socks |--'                        '__,(            ),__'     
                        |                          '-----------'                                - ._(__)_. -          
                        |                               ^                                            ^
                        |                               |                          .-----------------'
                        |                               |                          |
                        |                               |                          |
                        |                               |                          |
 .------.  .------------------------.  .---------------------------------.  .---------------.  .-------------.  .-------------.  .------.
 | wlan |->| IP/MAC authorized src  |->|  Port 443 *.torproject.org dst  |->| Tor Nodes dst |->| Port 53 dst |->| Port 80 dst |->| DROP |
 '------'  '------------------------'  |  Port 443 *.tails.boum.org dst  |  '---------------'  '-------------'  '-------------'  '------'
                                       '---------------------------------'                            |                |
                                                                                                      |                |
                                                                                                      |  .----------.  |  .----------------.
                                                                                                      '->| Fake DNS |  '->| Captive portal |
                                                                                                         '----------'     '----------------'  

This YunoHost app is a part of the "La Brique Internet" project but can be used independently.

Prerequisites

About

Setup a Tor network wifi on your internet cube

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 77.1%
  • Shell 13.4%
  • CSS 5.5%
  • JavaScript 1.5%
  • Perl 1.5%
  • Python 0.8%
  • HTML 0.2%