I currently use proxychains + ZNC (an IRC bouncer) on a FreeBSD host to connect to a few IRC Tor hidden services.

Proxychains redirects all the ZNC connections to a Socks5 proxy running on a local Tor relay.

----------------
proxychains.conf
----------------
strict_chain
proxy_dns
tcp_read_time_out 15000
tcp_connect_time_out 8000
[ProxyList]
socks5 192.168.200.10 9050 # local Tor relay socks5 proxy port


Any ZNC connections to certain private IP addresses are redirected via Tor to the appropriate .onion hidden service.

-----
torrc
-----
# IP address to .onion mappings that proxychains uses to connect to freenode hidden IRC services mapaddress 192.168.101.2 frxleqtzgvwkv7oz.onion # freenode primary mapaddress 192.168.101.3 p567hbjdstqvg7xw.onion # freenode secondary mapaddress 192.168.101.4 2hktdmgt6bg2hjuc.onion # freenode secondary mapaddress 192.168.101.5 l4wvhvf666nifnpg.onion # freenode secondary


I want to move the ZNC => Tor bouncer setup to an OpenBSD host but proxychains does not build from source on OpenBSD [1]. It also has not been maintained for a while so I tried to get proxychains-ng (an updated fork that is maintained) to build but it fails with more or less the same error. [2]

Does anyone know if it's possible to remove proxychains from the loop entirely and just use pf redirection to force all ZNC connections through the Tor Socks5 proxy instead?

[1] https://github.com/haad/proxychains/issues/46
[2] https://github.com/rofl0r/proxychains-ng/issues/52
_______________________________________________
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to