Skip to content

How to use Reality on Hiddify

lymanjre edited this page Nov 24, 2023 · 10 revisions

flag_of_Iran  فارسی          

How to use Reality on Hiddify

Reality is one of the new protocols provided by Xray, which does not have the prerequisites of the previous protocols. This protocol is based on Vless and therefore cannot be used for Vmess or Trojan. On Hiddify, the emphasis is still on simplification, so most of the work is done behind the scenes.

  • Very important point: because this protocol is based on TCP, it does not support CDN, so it can only be used in direct or rail modes, and for this reason, it needs a server with a clean IP. If you need information on how to test the server, refer to this link.

Reality setup in settings

If you go to the panel settings page and enter the Reality settings, you will see the general settings related to this protocol.

These settings include the following.

Short IDs

This ID is also used for encryption and please do not change it.

Private key

This key is used to encrypt the connection and please do not change it.

Public key

This key is also used to encrypt the connection between the server and the client, and please do not change it. Settings in the domain section

Go to the Settings menu, then Domains, and click Create.

Mode

Here, set the mode to reality so that you can make specific settings related to this protocol.

Important note: Before continuing, you can click on the domain review and suggestion link to open the domains review page. Here, the panel offers you several sites based on your server location and sites that have TLS1.3. You can choose the sites that have better ping.

Fallback Domain

This domain, which is also known as Diggs such as Fallback or Destination, is used when the filtering system is visiting your website to be directed to this address if it does not have a valid key. You can put one of the addresses of the review page that had a lower ping time in this field, which is the same as the address in the Server Names or SNI field.

You can also put the address of the site that is supposed to be hosted in the country of origin and supports tls1.3 and H2. By doing this, this site actually plays the role of an intermediate server.

Alias

If you want, enter a custom name to display in the configs.

Note: It is better to use standard characters such as letters and numbers.

Reality Server Names

The server name used to simulate the destination of your traffic. You can choose one or more sites from the list on the review page. To use multiple sites, use , . Finally, suppose that the sites www.yahoo.com and www.microsoft.com are in your data center and have a good test result; Put these addresses in this field and leave a comma between them.

To learn how to use multiple server names or SNI, read this article.

gRPC

Turn on this button if you need to use gRPC in this protocol.

Force Config to Use Following IPs

If you want a specific IP instead of the server's main IP in the configuration, enter that IP in this field. One of the uses of this field is for rail servers. If you want to use Reality on Relay servers , you must enter the IP of those servers here.

Tip: If you have more than a few IPs, you can put each IP in a row and connect between them.

Finally, press save to save the settings and don't forget to Apply Changes.

Yellow messages may be given as a result of the server checking your completed fields.

  • In Reality, in order not to be recognized, it is better that the selected domain is in your data center, and also note that the server name field and the returned domain must be on the same server.

  • That is, you cannot set the return domain to www.yahoo.com , but the server name is www.google.com. But if you put the name of the server as blog.yahoo.com, it is ok.

Considering the above, it is better to make the settings so that these messages do not appear, but if you did not receive an error message (red) and only received warning messages (yellow warning); You can ignore them and move on.

Enabling or disabling Reality Proxy

For this, go to the proxies menu and view and control Reality proxies in the direct section.

If you still do not receive its connections in the subscription link despite the Reality options being turned on in this section, check the domain settings used for the subscription link. You probably need to tick the direct domain.

  • Important note: because this protocol uses a different algorithm, its settings may be different for different networks, so if you see that it does not work for you, first make sure that your IP server is healthy, and then change the return addresses and the server name. to achieve the desired result.

Why don't I see these configs in the proxy menu despite enabling the reality protocol?

If you still don't see these connections in the configuration list despite activating the Reality protocol in the proxies section, you need to go to the subscription domain settings and add your direct domain to that domain.

Suppose your subscription domain is t1.hiddify.com and your realty domain is google.com. You need to go to the t1.hiddify.com domain settings and in Show Configs of Domains field; Check the google.com domain. Now if you open your subscription link on the t1.hiddify.com domain; You will see that there are Reality configs.

This wiki page is moved here. Please find latest updated articles there.

این ویکی به اینجا منتقل شده است. لطفا آخرین آپدیت‌ها و مقاله‌ها را آنجا دنبال کنید.

Clone this wiki locally