Download the Fedora iso from here
https://getfedora.org/en/workstation/download/
Open vmware workstation 16 (I use the free version for non-commercial use) and create a new virtual machine.
You can leave the default disk size or lower it but dont go under 15gb. I always store virtual disk as a single file for easier organization. You can customize the hardware to use your host's IP address or connect directly to the network using a bridged connection under the Network Adapter tab. You can leave all the default settings but it will run slow. Since I have the hardware resources available, I set it to 7.6 gb ram and 8 processor cores.
Finish the creation and it will launch. Be aware that i customized the desktop using Gnome-tweaks via this guide https://www.dedoimedo.com/computers/rocky-linux-8-perfect-desktop.html
A quick tldr:
press the windows key or click activies to open the dash bar and open a terminal
sudo dnf install gnome-tweaks
The tide (~) symbol quickly specifies the current user's home directory
mkdir ~/.icons
cd ~/.icons
Download the icon package
git clone https://github.com/keeferrourke/la-capitaine-icon-theme.git
Open gnome-tweaks and change the appearance in the settings
Next you want to dock the dash bar(task bar in windows/macOS) so that it's always visible.
Open firefox and go to https://extensions.gnome.org/extension/1160/dash-to-panel/
A warning box will tell you at the top that you need to install gnome-extensions in your browser, go through with it and reload the page. Toggle the extension on and install it:
Your desktop should update after that and you are all set up.
Next, go back to your terminal and install privoxy and tor
sudo yum install privoxy tor
Then start tor and click "authenticate" or just use sudo before the command
service tor start
Next, you have to configure privoxy to listen
sudo nano /etc/privoxy/config
Hit ctrl-w to search for "socks5" to get there quicker and scroll dwon until you find "forward-socks5 / "
Replace with 127.0.0.1:9050 .
And hit ctrl-o, then enter to save, and ctrl-x to exit. Finally, type this or use sudo
service privoxy start
You can check both statuses with "service tor status" or "service privoxy status" and crtl-c to exit
Reopen firefox and go to https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/ to add the foxyproxy extension to the browser. Once installed you'll see the icon appear at the top right of the browser. Click on it and click options.
Click add and configure the new proxy:
Save it and turn it on by clicking the foxyproxy icon again and then clicking on your creation. Reload the page and then click on the icon again and click "what's my ip?". If you see that your IP is different and probably in a different country, then you were successful.
If you want to use the proxy in your shell, you can run where the --socks5 and --socks5-hostname flags force the connection through the tor service
curl --socks5 localhost:9050 --socks5-hostname localhost:9050 -s https://check.torproject.org/api/ip
You should see the boolean "true" and the random IP printed out to know it is working.