Actually, at first, all I wanted to do was to set up a server to reverse proxy my website and then access it using a Dark Web domain (accessing a Dark Web domain provides additional privacy through three layers of bridges and three layers of relays!).
To achieve this kind of operation, you still need to learn how to create a Dark Web website!
I forgot how to write in the correct format, so I won't pay much attention to formatting.
- Preparation
Imagine if you have this requirement, then you must have some websites that you can't remember. First, prepare a Tor browser, then prepare a server. If you only need to reverse proxy 1h1g, it's enough. If not, it depends on the website.
- Install Tor
I'm using a Debian server here, execute the following command to install!
apt install tor
3. Install the cracked version of Baota
wget -O install.sh http://io.bt.sy/install/install-ubuntu_6.0.sh && bash install.sh
4. Install Nginx, you can directly install it in the Baota panel!
- Configure website information
Open the file /etc/tor/torrc
Edit the content as follows:
HiddenServiceDir /var/lib/tor/my_website/
HiddenServicePort 80 127.0.0.1:80
If you need to add multiple sites, just write them like this!
HiddenServiceDir /var/lib/tor/my_website/
HiddenServicePort 80 127.0.0.1:80
HiddenServiceDir /var/lib/tor/abc_website/
HiddenServicePort 80 127.0.0.1:80
Pay attention to the difference between "my_website" and "abc_abcsite", then execute: sudo systemctl restart tor to restart Tor.
Then open the corresponding directory of HiddenServiceDir and find the hostname file. Inside is the Tor domain. Add this domain in Baota when adding a website, and you can access this Dark Web address.
You can upload your own website files or configure reverse proxy.
- More requirements
You can refer to the official documentation: https://community.torproject.org/onion-services/setup/
You can also switch TCP requests to Unix, and if you want your Dark Web to use HTTPS, you can refer to: https://www.anwangxia.com/710.html
There is another way, randomly fill in the information to enable a certificate in Baota, and then modify the port in /etc/tor/torrc to 443. Restart Tor and you can access it using HTTPS.