How to Route All Traffic as YouTube Traffic to Bypass ISP Restrictions

I am facing a significant issue with my ISP. They have blocked access to almost everything except YouTube, Likee, TikTok, and Snapchat. To bypass these restrictions, I want to route all traffic through my OpenWrt router so that it appears as YouTube traffic to my ISP.

I’ve been using a temporary solution with V2Ray, but it’s not a permanent fix since the server I use only remains valid for 3 days, and I need to update it constantly. Here’s the V2Ray configuration I’ve been using:

{
  "inbounds": [
    {
      "port": 1080,
      "protocol": "socks",
      "settings": {
        "auth": "noauth",
        "udp": true,
        "ip": "127.0.0.1"
      }
    }
  ],
  "outbounds": [
    {
      "tag": "VMESS",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "sg2-v2ray.ipracevpn.com",
            "port": 2083,
            "users": [
              {
                "id": "b1e734b8-36ce-4749-9941-c61aa181da23",
                "alterId": 0,
                "security": "auto",
                "level": 8
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "tcp",
        "security": "tls",
        "tlsSettings": {
          "allowInsecure": true,
          "serverName": "http://cdn.snapchat.com"
        }
      },
      "mux": {
        "enabled": false
      }
    }
  ],
  "policy": {
    "levels": {
      "8": {
        "connIdle": 300,
        "uplinkOnly": 1,
        "downlinkOnly": 1,
        "handshake": 4
      }
    }
  }
}

While this works temporarily, constantly changing the server is frustrating.

What I’m Looking For:

  1. A permanent solution where all traffic (HTTP/HTTPS, including apps and websites) can appear as YouTube traffic.
  2. OpenWrt configuration scripts or packages that could help achieve this goal.
  3. Any advice on setting up a local or self-hosted V2Ray or alternative proxy server that can mimic YouTube traffic.

I believe there might be a way to utilize DNS manipulation, HTTPS spoofing, or some advanced tunneling to achieve this, but I need guidance from the experts here.

If anyone has experience dealing with such restrictions or knows how to configure OpenWrt to handle this kind of traffic routing, please share your insights.

Thanks in advance for your help!

You cannot make traffic "that appear as something".
You need to have a tunnel to a server that is able to reach your final traffic destination.
You can implement a VPN using a commercial service (airvpn, protonvpn, ...) or use a remote virtual server .

ciao

You had OpenVPN going, what's up with that ?

did not work

Did not work, or did not work for you ?

How about:

  1. Setup a VPS(less than 10 USD/month, about 1~2TB of traffic included) or a Mini PC in your relatives'/friends' home with public IP access(either IPv4 or IPv6 depends on what IP stack you have, if the public IP address changes overtime you'll have to use a DDNS service too).
  2. Configure v2ray to connect to the device aforementioned.
  3. Configure OpenWrt to route all traffic except OpenWrt itself to v2ray.
  4. Turn on VPN on your Computer/Smartphone so that the VPN traffic goes through v2ray.
2 Likes