Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube detects the source country despite using vless. #1556

Open
supremeremixx opened this issue Dec 22, 2024 · 10 comments
Open

YouTube detects the source country despite using vless. #1556

supremeremixx opened this issue Dec 22, 2024 · 10 comments

Comments

@supremeremixx
Copy link

Hello, I use VLESS protocol via nekobox 4.0.1. Connection is working, my IP changes and blocked sites start work properly. But when I trying to watch videos on YT which are restricted in my origin country (RU) YT detects it and give an error. But if I use another VPN client with IKEv2 protocol for example then it works correctly.
Is it possible to bypass these restrictions using nekobox and VLESS protocol? Maybe I miss some specific settings to make it work?

@devopg
Copy link

devopg commented Dec 22, 2024

what is error ?
show screen with error

@playtheman
Copy link

Hello, I use VLESS protocol via nekobox 4.0.1. Connection is working, my IP changes and blocked sites start work properly. But when I trying to watch videos on YT which are restricted in my origin country (RU) YT detects it and give an error. But if I use another VPN client with IKEv2 protocol for example then it works correctly. Is it possible to bypass these restrictions using nekobox and VLESS protocol? Maybe I miss some specific settings to make it work?

Do you use TUN?

@supremeremixx
Copy link
Author

what is error ? show screen with error
{71AE6494-0E61-4BC4-A192-895E97219691}

It's standart error from Youtube that author restricted this video to be watch from your country.
I am using own VPS based in US and created there vpn via 3x-ui console. I checked that there are no restrictions on viewing these videos in the US. If I use another VPN client (also choosed US IP) with IKEv2 connection, then these videos work, but if I try to access youtube via nekoray-vless, I get this error.

Hello, I use VLESS protocol via nekobox 4.0.1. Connection is working, my IP changes and blocked sites start work properly. But when I trying to watch videos on YT which are restricted in my origin country (RU) YT detects it and give an error. But if I use another VPN client with IKEv2 protocol for example then it works correctly. Is it possible to bypass these restrictions using nekobox and VLESS protocol? Maybe I miss some specific settings to make it work?

Do you use TUN?
{B41047F7-DE9A-49C7-8310-B55D17DD62AB}

Yes, I am using TUN, because I need whitelist mode to run only specific applications via vpn.

@devopg
Copy link

devopg commented Dec 23, 2024

I think problem with option "Route Only" on 3xui, show your sniffer config screen from vless 3xui

@supremeremixx
Copy link
Author

supremeremixx commented Dec 23, 2024

I think problem with option "Route Only" on 3xui, show your sniffer config screen from vless 3xui

Did you ask for these settings? I tried to find "Route only" setting and seems like it must be in "Sniffing" sub-menu, but I don't have it.
3x-ui version 2.2.6

image_2024-12-23_183812609

@devopg
Copy link

devopg commented Dec 23, 2024

OMG
image

@supremeremixx
Copy link
Author

supremeremixx commented Dec 23, 2024

OMG

I don't have it xD

{DB91EB79-300B-41BA-B99C-E76E641B7E24}

@supremeremixx
Copy link
Author

OMG image

I updated 3x-ui console to the latest version (2.4.10) and now I have setting "Route only".
I tried to watch videos with and without it but YT still gives an error.

@OiEi
Copy link

OiEi commented Dec 27, 2024

I updated 3x-ui console to the latest version (2.4.10) and now I have setting "Route only". I tried to watch videos with and without it but YT still gives an error.

Привет. Я тоже из РУ. ВПС крутится в европе (у меня 2 в разных регионах). 3x-ui 2.4.10. Конфиг как у тебя. Использую NekoBox 4.0.1. В NekoBox не использую TUN (может и нужно, это же шифрование тоже какое-то). В preferences->routing settings->simple route выставил default outbound - bypass и в окне domain - proxy вписал домены куда хожу через vless (youtube.com, googlevideo.com, whatismyipaddress.com, ntc.party, refactoring.guru). В итоге весь трафик прокидывается напрямую, а нужные домены через проксю. Белый лист не нужен и TUN можно не включать. whatismyipaddress.com в списке что бы проверять что прокся работает. Например 2ip.ru показывает что я в РФ, а whatismyipaddress.com - что в европе. Ну и ютуб работает естессно.

Maybe it usefull for anybody:
Hello. I am also from RU. VPS is spinning in Europe (I have 2 in different regions). 3x-ui 2.4.10. Config as yours. I use NekoBox 4.0.1. I do not use TUN in NekoBox (maybe it is necessary, it is also some kind of encryption). In preferences->routing settings->simple route I set default outbound - bypass and in the domain - proxy window I entered the domains where I go through vless (youtube.com, googlevideo.com, whatismyipaddress.com, ntc.party, refactoring.guru). As a result, all traffic is forwarded directly, and the necessary domains through the proxy. White list is not needed and TUN can be omitted. whatismyipaddress.com in the list to check that the proxy is working. For example, 2ip.ru shows that I am in the Russian Federation, and whatismyipaddress.com - that I am in Europe. An also youtube work perfectrly

@supremeremixx
Copy link
Author

Привет. Я тоже из РУ. ВПС крутится в европе (у меня 2 в разных регионах). 3x-ui 2.4.10. Конфиг как у тебя.

Привет! Я проверил твой способ, но результат прежний. Сам YT что с TUN, что без, через nekobox работает без замедлений, то есть траффик точно идёт через vpn. Но проблема в том, что если какой-то автор выставляет ограничения для просмотра из РУ, то при использовании именно vless подключения YT всё равно определяет, что я из РУ, и не даёт посмотреть это видео. При использовании vpn с другими протоколами такой проблемы не наблюдается.
Если не сложно, то чисто для теста попробуй запустить это видео через свой vpn, заработает ли оно у тебя?
https://www.youtube.com/watch?v=qlDfY6Vp6bY

Hello! I checked your method, but the result is the same. YT itself with or without TUN, through nekobox works without slowdown, i.e. traffic is definitely going through vpn. But the problem is that if some author sets restrictions for viewing from RU, then when using vless connection YT still detects that I am from RU and does not let me watch this video. When using vpn with other protocols this problem is not observed.
If it's not too much trouble, just for a test, try to run this video through your vpn, will it work for you?
https://www.youtube.com/watch?v=qlDfY6Vp6bY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants