[Tor-BSD] tor in freebsd jail

Pete Wright pete at nomadlogic.org
Wed Aug 29 14:26:35 EDT 2018


ignore this - my clock had skewed.  if it's not DNS it's usually time :/

-pete

On 8/29/18 11:16 AM, Pete Wright wrote:
> howdy - i'm having a brain fart trying to get tor running inside a 
> jail.  my config is pretty generic:
>
> SOCKSPort 0
> Log notice file /var/log/tor/notices.log
> RunAsDaemon 1
> DataDirectory /var/db/tor
> ORPort 9001
> Address tor0.nomadlogic.org
> Nickname skibble
> ContactInfo Tor Admin <tor AT nomadlogic dot org>
> DirPort 9030
> DirPortFrontPage /usr/local/etc/tor/tor-exit-notice.html
>
> and my pf redirection rules should work i think:
> # tor service
> rdr pass on ix0 inet proto tcp from any to 140.82.23.70 port = 9030 -> 
> 10.1.0.30 port 9030
> rdr pass on ix0 inet proto tcp from any to 140.82.23.70 port = 9001 -> 
> 10.1.0.30 port 9001
>
> i verified i can connect to the tor service externally on ports 9030 
> and 9001, yet tor throws this error on startup:
>
> Aug 29 18:10:05.000 [notice] Bootstrapped 80%: Connecting to the Tor 
> network
> Aug 29 18:10:05.000 [warn] Failed to find node for hop #1 of our path. 
> Discarding this circuit.
> Aug 29 18:10:05.000 [notice] Our circuit 0 (id: 1) died due to an 
> invalid selected path, purpose General-purpose client. This
> may be a torrc configuration issue, or a bug.
> Aug 29 18:10:05.000 [notice] Bootstrapped 85%: Finishing handshake 
> with first hop
> Aug 29 18:10:06.000 [warn] Failed to find node for hop #1 of our path. 
> Discarding this circuit.
> (repeats once a second)
>
> is this due to the fact that i'm NAT'ing the tor process in a jail or 
> more likely i missed something in my config?
>
> thanks!
> -pete
>

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the Tor-BSD mailing list