blog:transparent_i2p_tunneling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
blog:transparent_i2p_tunneling [2019/06/25 22:37] – created brettblog:transparent_i2p_tunneling [2019/06/25 23:07] (current) – [Privoxy configuration] brett
Line 1: Line 1:
 ====== Transparent I2P tunneling ====== ====== Transparent I2P tunneling ======
  
-Additional notes to the article:+These notes are to setup an [[https://geti2p.net/|I2P]] [[https://freenas.org/|FreeNAS]] jail to transparently tunnel .i2p traffic using a [[https://store.ui.com/products/edgerouter-x|Ubiquiti EdgeRouter ER-X]] 
 + 
 +Huge kudos to these notes that got me moving in the right direction:
   * https://www.grepular.com/Transparent_Access_to_I2P_eepSites   * https://www.grepular.com/Transparent_Access_to_I2P_eepSites
  
-This is the logical flow of what we are going to setup:+This is the logical flow of what we are going to setup.  Pictures really help the understanding. 
 + 
 +{{:blog:graphviz-g-b183130fcfeb65125bf9fe63e8cef15875947862.png|}}
  
-{{:blog:graphviz-g-84d4167ea213fe15944a995dbefb787151683699.png}}+===== EdgeRouter ER-X setup =====
  
 As I have an EdgeRouter ER-X the instructions will cover what you need to configure on this device in terms of the router setup As I have an EdgeRouter ER-X the instructions will cover what you need to configure on this device in terms of the router setup
Line 88: Line 92:
  }  }
 </code> </code>
 +We will end up with a NAT configuration like this:
  
 {{:blog:i2p-edgeos.png|}} {{:blog:i2p-edgeos.png|}}
  
-====== Privoxy configuration ======+With the following firewall rule.
  
 +{{:blog:i2p-edgeos-fw.png|}}
 +
 +===== FreeNAS I2P jail =====
 I run i2p and privoxy inside a FreeNAS jail so these instructions reflect this. I run i2p and privoxy inside a FreeNAS jail so these instructions reflect this.
 +
 +Follow the instructions to setup the I2P jail
 +  * https://github.com/dbzoo/iocage-plugin-i2p
 +
 +===== Privoxy configuration =====
 +
 +Now the I2P jail is setup we need install the privoxy for transparent routing.  The jail does not install privoxy.
 +
 Install privoxy into the jail and forward .i2p domain name requests to the router. Install privoxy into the jail and forward .i2p domain name requests to the router.
 <code> <code>
 # pkg install privoxy # pkg install privoxy
-<code>+</code>
 Allow it to autostart edit /etc/rc.conf Allow it to autostart edit /etc/rc.conf
 <code> <code>
Line 123: Line 139:
 Restart after making those changes Restart after making those changes
 <code> <code>
-/usr/local/etc/rc.d/privoxy restartt+/usr/local/etc/rc.d/privoxy restart
 </code> </code>
-{{tag>}}+ 
 +{{tag>freenas i2p network routing}}
  
 ~~LINKBACK~~ ~~LINKBACK~~
  
  
  • blog/transparent_i2p_tunneling.1561502228.txt.gz
  • Last modified: 2019/06/25 22:37
  • by brett