I need to open ports for such services. But the problem is that i have problems with the NAT so i was thinking using tor to make port forwarding but at the moment i dont have any idea or way to do it.

I researched a little and there's some ways starting a tor service and using no-ip but not sure if will work.

It's possible or which recommend me to port forward without NAT?

  • 1
    Even if you use TOR, that doesn’t chnage the fact, you still have to forward ports to direct traffic on a given port to your machine. TOR won’t solve your problem – Ramhound Mar 13 '18 at 0:19

You don't need any open incoming ports to run a Tor hidden service, or even really worry about NAT. You certainly don't need a dynamic DNS provider.

Your Tor peer simply must be able to connect to some of the Tor relays and you will need some time for your .onion address to propogate through the distributed hash table.

Exact process is here.

The Tor peer builds circuits to the so-called "rendezvous" point - so it has initiated the connection (meaning as long as you have outgoing access you are fine) and maintains it - and it receives data through these circuits with the rendezvous points.

Now, where ports come into play is in configuring the hidden service.

  • Typically, you want program you want to make available via Tor listening on localhost or

  • You specify in the Tor hidden service configuration in this way in the configuration file - for example:

    HiddenServicePort 80`

    Port 80 is what the onion address users must use. is what your program that you want to make available via Tor must be listening on. Tor does the rest.

    You do not have to have port 80 open on your router for this to work, and you don't have to care about NAT.

| improve this answer | |
  • but where i must to specify this : HiddenServicePort 80 im little lost in which file of tor i must to specify this – Sergio Ramos Mar 13 '18 at 11:14
  • makeuseof.com/tag/… – LawrenceC Mar 13 '18 at 12:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.