I am using the v2raya client on an MT3000 router, router firmware 4.8.0-op24.
Everything works fine when v2raya is in tproxy mode.
But I need to ping the Internet connection after v2raya, which, as I understand it, can be achieved in system tun mode, because then the “tun0” interface appears, through which, in theory, ping tests can be performed.
I basically did everything according to the instructions from chatgpt, because I am a beginner in this field.
He recommended the following:
Step 1. Checking system-tun
Open System → Startup and make sure that v2raya is working.
Enable system-tun mode in the v2rayA web interface.
Check that the tun0 interface appears in LuCI:
Status → Network → Interfaces
There should be tun0.
Step 2. Add a new interface in LuCI
Go to Network → Interfaces → click Add new interface.
Name it, for example, V2RAY_TUN.
Select Protocol: Unmanaged.
In the Cover the following interface field, select tun0.
Save.
Step 3. Firewall zone
Go to Network → Firewall.
Add a new v2ray zone.
Input: reject
Output: accept
Forward: reject
Masquerading: on
MSS clamping: on
Link the V2RAY_TUN interface to it.
In the Forwarding section, do the following:
lan → v2ray (i.e., all LAN traffic will go through the tunnel).
and many other similar things, but the problem is the same: there is virtually no Internet connection in this case, and the following errors mainly appear: “ERR_CONNECTION_REFUSED”, “DNS_PROBE_FINISHED_BAD_SECURE_CONFIG”, “DNS_PROBE_STARTED”
Could someone help me set all this up, preferably explaining it in a way that is understandable to a beginner?