> For the complete documentation index, see [llms.txt](https://loyalproxy.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://loyalproxy.gitbook.io/docs/proxy-configuration/proxy-tool-setup-tutorial/v2rayng.md).

# v2rayNG

{% hint style="warning" %}
**Usage Notice:** All LoyalProxy proxy products must be operated in an overseas network environment. Please ensure that you have already configured the corresponding overseas network environment yourself.
{% endhint %}

This article will guide you on how to use **v2rayNG** on an Android device to configure [**LoyalProxy**](https://www.loyalproxy.com/zh-cn) Static Residential IPs for secure access to network resources.

> **Tip**: The usage method for dynamic residential IPs is the same as that for static residential IPs.

### 1. Set the Global Routing Mode

Open the v2rayNG app, tap the menu in the upper left corner, and go to **Routing Settings**.

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2FTc8rcfV9sY2pfkBojahF%2Fimage.png?alt=media&#x26;token=cdcc8b03-46df-4a43-b67e-4819c4d09271" alt=""><figcaption></figcaption></figure>

### 2. Adjust the Routing Configuration

On the "Routing Settings" page, turn off the four options framed in the image to ensure that proxy traffic passes through normally.

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2FXuJciuVyoDzxeDkWG7HP%2Fimage.png?alt=media&#x26;token=1f719020-1ddc-4a9d-bbbc-1fb44903a120" alt=""><figcaption></figcaption></figure>

### 3. Enter the Subscription Group Settings

Tap the menu in the upper left corner and select **Subscription Group Settings**.

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2F2c6aLw3u67PRo7gdJ389%2Fimage.png?alt=media&#x26;token=43f5427d-6650-4da9-98e4-bde91127c91f" alt=""><figcaption></figcaption></figure>

### 4. Create a New Group

1. Tap **+** in the upper right corner to add a new group.
2. Fill in the required group information:
   * **Group Name**: A custom group identifier
   * **Pre-proxy Name**: Select an overseas network node (used to connect to the overseas environment)
   * **Landing Proxy Name**: Select the LoyalProxy residential node (used for final access)
3. Tap **Save** to complete group creation.

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2Frurvq7bpjApJfnbRGw43%2Fimage.png?alt=media&#x26;token=a21a0618-ec98-444b-90ef-e7da7b27c964" alt=""><figcaption></figcaption></figure>

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2FrlixyQajdgFQybvtnBLe%2Fimage.png?alt=media&#x26;token=e454920c-114f-48eb-a253-871c1a127489" alt=""><figcaption></figcaption></figure>

### 5. Add a Residential Node to the Group

1. Select the group you just created.
2. Tap **+** in the upper right corner to add a new configuration.
3. Select the proxy protocol: **HTTP** or **SOCKS5**.
4. Fill in the proxy information obtained from [LoyalProxy](https://www.LoyalProxy.com/zh-cn/):
   * **Server Address**
   * **Server Port**
   * **Username**
   * **Password**
5. Tap **Done** or **Save** in the upper right corner to save the configuration.

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2FUs9dUTOq0NwRKTVT5Mxa%2Fimage.png?alt=media&#x26;token=41a6f269-6e69-4e3f-9b14-30e995ce7f9b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2F4ufeb7jZWFRVFng6OkI0%2Fimage.png?alt=media&#x26;token=b999db33-6788-4868-8995-0c1929546015" alt=""><figcaption></figcaption></figure>

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2F0TbqvVRcV7KIggbygejj%2Fimage.png?alt=media&#x26;token=4e9def55-e663-4918-83e9-8bb743a30224" alt=""><figcaption></figcaption></figure>

### 6. Connect and Test the Proxy

1. Return to the v2rayNG main interface.
2. Find the configured group in the group list.
3. **Select the group** (ensure it is in the selected state).
4. Tap the **Start** button at the bottom.
5. If the interface shows **Connected successfully**, the proxy configuration is complete.

<figure><img src="https://779989668-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwsS3NgJFgFQvWFmv0zaY%2Fuploads%2FTK5zJXB81bjybeLgth1B%2Fimage.png?alt=media&#x26;token=40d878b4-89c2-4fea-b2e0-7d5cd1224134" alt=""><figcaption></figcaption></figure>

### 7. Verify the Proxy Connection

1. After a successful connection, open your phone's browser.
2. Visit an IP detection website (such as [ipinfo.io](https://ipinfo.io)).
3. Confirm that the displayed IP address matches the proxy IP provided by LoyalProxy.
4. If the proxy IP is displayed, the configuration is successful.

### Notes

* Ensure that you have obtained the correct LoyalProxy proxy information.
* The proxy service must be used in an overseas network environment.
* It is recommended to test node latency before connecting and choose the optimal node.
* Keep v2rayNG running in the background to maintain the proxy connection.

***

> At this point, you have successfully configured v2rayNG to use the LoyalProxy proxy on your Android device.
