Class: Spior::Iptables::Tor
Overview
Make Local Redirection Through Tor.
Instance Method Summary collapse
-
#initialize ⇒ Tor
constructor
A new instance of Tor.
Methods inherited from Root
Constructor Details
#initialize ⇒ Tor
Returns a new instance of Tor.
7 8 9 10 11 |
# File 'lib/spior/iptables/tor.rb', line 7 def initialize super @non_tor = %W[#{@lo_addr}/8 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8] @tables = %w[nat filter] end |