# How to use ShadowRocket/V2rayNG With YiLu Socks5 Proxy on iPhone/Android?

By [YiLuProxy](https://paragraph.com/@yiluproxy-2) · 2022-10-19

---

**General Setting Steps：**

1\. Install [**YiLu Proxy**](https://yilu.us/) on a Computer, which take as a server.

2\. Install App **ShadowRocket**/**v2rayNG** on **iPhone or iPad/Android** device.(The Instruction Only available for the app support HTTP or Socks5 Protocol)

3\. APP **ShadownRocket** Download UR(It needs the Apple Account from global countries except China): [https://apps.apple.com/us/app/shadowrocket/id932747118](https://apps.apple.com/us/app/shadowrocket/id932747118)

APP **v2rayNG** **download for Android**：[https://github.com/2dust/v2rayNG/tags](https://github.com/2dust/v2rayNG/tags)

4\. Local IP address has to be set as **LAN** IP(**192.168.186.196**) in the **Yilu** \[**setting**\] part.

**Note:**

\*\*A.\*\*When using YiLu Static IP, iPhone or iPad and Computer device have to be in the same LAN, which means in the same Wifi Network under the router.(please close the firewall in the computer)

**B.** When using YiLu rotating IP, Both are available to copy or scan the rotating proxies information without a LAN WiFi network.

**One Static IP Setting Steps:** We can use the multi-ports forwarding method in the article: Local Port Forwarding or LAN Port Forwarding in **ShadowRocket APP** as following steps:

1, Select Proxy Type: socks5;

2, add server and type LAN IP address and Port.

3, Launch it. More details showed as below screenshots:

![](https://storage.googleapis.com/papyrus_images/dcd7f5a77cc7e12ea849231cdb03e6c0ccfffb05de41dcb48b02091d976b98ac.png)

![](https://storage.googleapis.com/papyrus_images/af69102f86d9361f01a768c907e94bd3468628882103ecb44c2a4cd123f508fc.png)

Install **v2rayNG** or the similar APP on the **Android OS mobile phone**, tablet, or virtual machine, then use the **multi-port forwarding** method for getting a proxy **Static** **IP** network as following steps: Select Plus -> Manual \[Socks\]-> Enter Proxy IP Address and Port -> Connect ->Save. Similar screenshots are listed below:

![](https://storage.googleapis.com/papyrus_images/7b478a160bb5a9a82302db26106f0013152d958b3e5d7732dfb75fd70a37214d.png)

![](https://storage.googleapis.com/papyrus_images/d0e2bb6287a814964195068661166071ae53b708fc3c3a36558b37e6caa4ff08.png)

**Two Rotating IP Setting Steps.**

1\. Open **ShadowRocket/v2rayNG** and Use its scan function to Scan the IP code in the Yilu interface. and acquire rotating IP information automatically into APP as below screenshot:

![](https://storage.googleapis.com/papyrus_images/dda1fbcfd5970fa99850a7673870e8523987264bd058f1a32d22898523456403.png)

![](https://storage.googleapis.com/papyrus_images/bb4760cb541ccdcaa2a4581e636a87a4fedeb2e27435f8d75fb0b1b964615cb6.png)

2\. Copy the rotating IP information and paste into the **ShadowRocket**/**v2rayNG** as below:

![](https://storage.googleapis.com/papyrus_images/d493af68e9ee3d1ef21310ee7f801e870ff28934fd017e3c4e3adb396696c6f7.png)

![](https://storage.googleapis.com/papyrus_images/1d24610d6445cbb9e56e9c83b77a29e3458a2d55244fd9a88aa49ac0e1ef8e0e.png)

Get IP through Port Forwarding Method: can learn from the above way of acquiring static IP.

**Multi-ports Forwarding method**: can view [**Local Port Forwarding**](https://yilu.us/configuration/local-port-forwarding) or [**LAN Port Forwarding**](https://yilu.us/configuration/lan-port-forwarding), Select \[add the VPN\] -> Select Socks5 Proxy Protocol -> Type Proxy IP information.

The article is from [https://yilu.us/configuration/how-to-use-shadowrocket-with-yilu-socks5-proxies-in-iphone](https://yilu.us/configuration/how-to-use-shadowrocket-with-yilu-socks5-proxies-in-iphone).

[https://yilu.us/configuration/how-to-use-shadowrocket-with-yilu-socks5-proxies-in-iphone](https://yilu.us/configuration/how-to-use-shadowrocket-with-yilu-socks5-proxies-in-iphone)

---

*Originally published on [YiLuProxy](https://paragraph.com/@yiluproxy-2/how-to-use-shadowrocket-v2rayng-with-yilu-socks5-proxy-on-iphone-android)*
