# How to launch a Tor proxy server?

**URL:** <https://forum.torproject.org/t/how-to-launch-a-tor-proxy-server/7981>\
**Category:** Core Tor\
**Tags:** tor-browser\
**Created:** [June 13, 2023, 11:38am UTC](https://forum.torproject.org/t/how-to-launch-a-tor-proxy-server/7981 "2023-06-13T11:38:23Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![hack3rcon](https://forum.torproject.org/user_avatar/forum.torproject.org/hack3rcon/32/3606_2.png) [@hack3rcon](https://forum.torproject.org/u/hack3rcon)\
**Post date:** [June 17, 2023, 4:17pm UTC](https://forum.torproject.org/t/how-to-launch-a-tor-proxy-server/7981/11 "2023-06-17T16:17:51Z")

</div>

Hello,  
Thank you so much for your help.  
I installed a Windows VM via VirtualBox and used NAT as its network settings, then I used the default gateway IP address instead of its IP address and as you see it connected:

```auto
C:\> ncat 10.0.2.2 -v 9050
Ncat: Version 7.93 ( https://nmap.org/ncat )
libnsock ssl_init_helper(): OpenSSL legacy provider failed to load.

Ncat: Connected to 10.0.2.2:9050.
```

Can you tell me why I must use the default gateway instead of the IP address?

In the Windows VM, I used Firefox with SOCKS v5, and set SOCKS Host to “10.0.2.2” and Port to “9050”, but I couldn’t browse any website. When I selected “Proxy DNS when using SOCKS v5” option, then it’s working.  
My question is that why I must use the default gateway instead of the IP address?

On a real client (not VM) in my local network, I tested port 9050 and I got the following result:

```auto
C:\> nc 172.21.50.61 -v 9050
172.21.50.61: inverse host lookup failed: h_errno 11004: NO_DATA
(UNKNOWN) [172.21.50.61] 9050 (?): TIMEDOUT
```

Why? Are my iptables rules wrong? If yes, then why Windows VM can connect?

---

_[View the full topic](https://forum.torproject.org/t/how-to-launch-a-tor-proxy-server/7981)._
