grugq / PORTALofPi

PORTAL of Pi - RaspberyPi based PORTAL device. Certified UNIX Network Technicians only!
331 stars 54 forks source link

Debian support #6

Open grugq opened 10 years ago

grugq commented 10 years ago

Maybe debian / raspian support is a good idea.

learntofly83 commented 10 years ago

http://pastebin.com/raw.php?i=rLA4F2tJ

Debian/Raspbian script ive quickly hacked up here that borrows from yours. The target use case is a little different than yours, infact its very similar to adafruit's "OnionPi" ( http://learn.adafruit.com/onion-pi/ ) where eth0 is plugged into router and wlan0 is used as a wireless access point where all wlan0 traffic is routed over tor (this configuration would be ideal for a middlebox plugged into your home broadband, but wouldnt be suitable to use in an internet cafe for example where there is no access to an ethernet point).

It should be trivial however to modify this to be a true Debian/Raspbian PORTALofPI clone

Please sanity check the iptables rules, they are different than yours (eth0/wlan0 aside).

Differences:

Potential Issues:

To Do:

P.S. novice scripter here, please go easy :)

Cheers Ltf