TransWikia.com

Change IP address used by TOR connections

Tor Asked on September 28, 2021

I have configured a TOR hidden service using the default setup, meaning that requests come from 127.0.0.1. Is there a way to set up a different subnet to divide TOR connections from localhost ones?

Actual TOR configuration:

HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:8081

Example of actual NginX access log:

127.0.0.1 - - [15/Jul/2020:14:28:26 +0200] "GET / HTTP/2.0" 200 2524 "-" "curl/7.71.1"
127.0.0.1 - - [15/Jul/2020:14:27:37 +0200] "GET / HTTP/1.1" 200 17234 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"

Example of wanted NginX access log:

127.0.0.1 - - [15/Jul/2020:14:28:26 +0200] "GET / HTTP/2.0" 200 2524 "-" "curl/7.71.1"
127.0.1.1 - - [15/Jul/2020:14:27:37 +0200] "GET / HTTP/1.1" 200 17234 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"

Using linux and the latest tor

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP