# V2 Directory Flag Requirements

**URL:** https://forum.torproject.org/t/v2-directory-flag-requirements/20288
**Category:** Relay Operator
**Created:** [August 7, 2025, 2:21am UTC](https://forum.torproject.org/t/v2-directory-flag-requirements/20288 "2025-08-07T02:21:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![TorSuperNodes](https://forum.torproject.org/user_avatar/forum.torproject.org/torsupernodes/32/5693_2.png) [@TorSuperNodes](https://forum.torproject.org/u/TorSuperNodes)
#### Post date: [August 7, 2025, 2:21am UTC](https://forum.torproject.org/t/v2-directory-flag-requirements/20288/1 "2025-08-07T02:21:20Z")

</div>

So, what is the ACTUAL code needed in the torrc file to enable this flag?

I read on the official Tor Relay setup that is was this:

DirPort 9030

Which I did, and made sure 9030 was open on the firewall, and that does NOT seem to work. What else is needed? I also read somewhere that v2 Directory was no longer relevant in the newest version.

What version is correct?

My Current torrc:

ORPort 443  
ORPort [\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*]:9050 ## IPv6  
Address \*\*\*\*\*\*\*\*\*\*  
ExitRelay 0  
ExitPolicy reject “:”  
Nickname TorSuperNodes  
ContactInfo \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
SocksPort 0  
SocksPolicy reject \*  
DirPort 9030  
AccountingStart month 1 00:00  
AccountingMax 2000 GBytes

---

<div class="post-metadata">

### Author: ![TorSuperNodes](https://forum.torproject.org/user_avatar/forum.torproject.org/torsupernodes/32/5693_2.png) [@TorSuperNodes](https://forum.torproject.org/u/TorSuperNodes)
#### Post date: [August 7, 2025, 3:26am UTC](https://forum.torproject.org/t/v2-directory-flag-requirements/20288/2 "2025-08-07T03:26:27Z")

</div>

I may suspect that if there are any Accounting or other bandwidth restrictions, the flag will be revoked. Is this correct?

---

<div class="post-metadata">

### Author: ![atari](https://forum.torproject.org/user_avatar/forum.torproject.org/atari/32/392_2.png) [@atari](https://forum.torproject.org/u/atari)
#### Post date: [August 7, 2025, 3:43am UTC](https://forum.torproject.org/t/v2-directory-flag-requirements/20288/3 "2025-08-07T03:43:43Z")

</div>

> <https://github.com/torproject/torspec/blob/main/dir-spec.txt#L2630C1-L2648C65>

Guess you need a guard flag first. `DirPort` is not needed anymore.

---

<div class="post-metadata">

### Author: ![TorSuperNodes](https://forum.torproject.org/user_avatar/forum.torproject.org/torsupernodes/32/5693_2.png) [@TorSuperNodes](https://forum.torproject.org/u/TorSuperNodes)
#### Post date: [August 7, 2025, 6:52am UTC](https://forum.torproject.org/t/v2-directory-flag-requirements/20288/4 "2025-08-07T06:52:41Z")

</div>

I can understand that. Interesting reading. All of my nodes _ **DID** _ have the v2 flag when they started a few days ago, and they are all on more than fast VMs in Akamai data centers.

Not that I really care anyway. I put them up, donate the time and donate the 37TB of monthly bandwidth, and however the network decides to use or allocate is up to them I guess. I just want to make sure that I am doing all I can for my part _(I’m not ready to enable them as exit nodes right now though)_.

---

<div class="post-metadata">

### Author: ![GeKo](https://forum.torproject.org/user_avatar/forum.torproject.org/geko/32/4372_2.png) [@GeKo](https://forum.torproject.org/u/GeKo)
#### Post date: [August 19, 2025, 8:17am UTC](https://forum.torproject.org/t/v2-directory-flag-requirements/20288/5 "2025-08-19T08:17:52Z")

</div>

TorSuperNodes via Tor Project Forum:

> I can understand that. Interesting reading. All of my nodes _ **DID** _ have the v2 flag when they started a few days ago, and they are all on more than fast VMs in Akamai data centers.
> 
> Not that I really care anyway. I put them up, donate the time and donate the 37TB of monthly bandwidth, and however the network decides to use or allocate is up to them I guess. I just want to make sure that I am doing all I can for my part _(I’m not ready to enable them as exit nodes right now though)_.

It looks good now, doesn’t it? Unless you disable the DirCache you  
should get the V2Dir flag. There is no DirPort statement needed in your  
torrc file anymore. Current Tor versions don’t use it anymore in a relay  
context.

---

<div class="post-metadata">

### Author: ![TorSuperNodes](https://forum.torproject.org/user_avatar/forum.torproject.org/torsupernodes/32/5693_2.png) [@TorSuperNodes](https://forum.torproject.org/u/TorSuperNodes)
#### Post date: [August 19, 2025, 10:22am UTC](https://forum.torproject.org/t/v2-directory-flag-requirements/20288/6 "2025-08-19T10:22:22Z")

</div>

Yeah, they all look good now:

> **[Relay Search](https://metrics.torproject.org/rs.html#search/TorSuperNodes)**
