Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Russia blocks VPN: possible solutions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Aranycsapat
n00b
n00b


Joined: 05 Apr 2020
Posts: 24

PostPosted: Sat Jun 11, 2022 4:16 pm    Post subject: Russia blocks VPN: possible solutions Reply with quote

Russia tries to restrict vpn services and protocols. They banned free services first. Two weeks ago proton vpn users claimed they are unable to use the service. I am a cyberghost user and I experience some difficulties using vpn. The vary from light on my smartphone (powered by Android) to severe on my gentoo desktop, where normal internet surfing is not possible anymore since the connection is very unstable and slow (though a bit-torrent client works pretty fast). I use openvpn protocol on my desktop.What should I do to repair the connection? Using VPN is vital for me.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat Jun 11, 2022 5:16 pm    Post subject: Reply with quote

You mean from Russia or to Russia?
You can try tor browser.
_________________
:)
Back to top
View user's profile Send private message
Aranycsapat
n00b
n00b


Joined: 05 Apr 2020
Posts: 24

PostPosted: Sat Jun 11, 2022 5:48 pm    Post subject: Reply with quote

alamahant wrote:
You mean from Russia or to Russia?

I don't understand the question.
Tor was blocked even earlier, in fall 2021. All my attempts to revive it just failed.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sat Jun 11, 2022 6:02 pm    Post subject: Reply with quote

Aranycsapat,

Be careful how and if you answer.
The question may involve revealing your location.

alamahant assumes that you want a VPN connection across the Russian border and asks from the outside going in or from the inside coming out.
The assumption may be false, in that you just want a VPN to avoid traffic evesdropping.

What to do depends on how VPN is blocked and what you have control over.
e.g. If the ports are closed, you can try other ports. That requires that you have control of the remote end of the VPN.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
saturnalia0
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2016
Posts: 136

PostPosted: Sat Jun 11, 2022 8:23 pm    Post subject: Reply with quote

As far as I know your ISP cannot tell for sure that you're using a VPN. They may have a list of IP addresses from known VPN or VPS/cloud providers and assume that if you're connecting to those IPs (perhaps on certain ports) then you're using a VPN, though that's just a guess. You might want to try different configurations such as a different host and different ports...
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3136

PostPosted: Sat Jun 11, 2022 9:30 pm    Post subject: Reply with quote

One neat trick is to use http proxy with connect method.
The same way as it works with https over a non-transparrent proxy: you connect to the proxy, then invoke connect server:host, and then proxy initiates tcp connection and stops analyzing traffic. From now on, you have a TCP connection you can use for anything that runs over TCP protocol.

This tcp connection is typically used by a browser for ssl negotiation, but it can just as well be used for ssh session or general purpose vpn.
I can't recall what tools you need to use for that. I do know they are already available though.
TBH it shouldn't even really be that hard to write one yourself if you know some proxy you can use... I mean, the basic functionality would be like start netcat in client mode, send http headers, wait for response, and then start second netcat in server mode, double piped to the first one.
The response can be tested for status code, if you're feeling fancy, or discarded entirely. Like in: you're going to know if it failed. You may want to add an auto-reconnect feature though :)

And then make your vpn connect to your local netcat instead of the usual server, to have its traffic forwarded via proxy.
Back to top
View user's profile Send private message
Aranycsapat
n00b
n00b


Joined: 05 Apr 2020
Posts: 24

PostPosted: Fri Jun 24, 2022 10:59 am    Post subject: Reply with quote

Thank you guys!
NeddySeagoon wrote:
Aranycsapat,
alamahant assumes that you want a VPN connection across the Russian border and asks from the outside going in or from the inside coming out.
The assumption may be false, in that you just want a VPN to avoid traffic evesdropping.

I am actually so weak in networking. I just want to access some blocked sites which were limited in Russia. What do you mean by "the outside going in or from the inside coming out"? The direction of traffic, right?
Avoiding traffic evesdropping is necessary too.

szatox
The situation seems to be better now, but if it worsens I'll try you method.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Fri Jun 24, 2022 3:07 pm    Post subject: Reply with quote

Correct, the direction of traffic was at issue. There are 4 possible configurations:
  1. You are in Russia. You want to access a site in Russia.
  2. You are outside Russia. You want to access a site in Russia.
  3. You are in Russia. You want to access a site outside Russia.
  4. You are outside Russia. You want to access a site outside Russia.
In case 1 and case 3, by being in Russia, you would be subject to Russian jurisdiction. If the site you want to reach is illegal for Russians to access, then revealing that you are in Russia and want to access it could be legally hazardous to you. In case 2, you are (probably) not subject to Russian jurisdiction, unless your home country has an extradition arrangement and could be convinced to exercise it on Russia's behalf. In case 4, you probably wouldn't have mentioned Russia in your first post, so we can assume that is not the case that applies to you. You don't necessarily need to tell us which of the cases applies to you. Before you answer, I suggest you determine whether the relevant jurisdictions banned VPN service to make privacy inconvenient or banned it because privacy is itself illegal.
Back to top
View user's profile Send private message
Aranycsapat
n00b
n00b


Joined: 05 Apr 2020
Posts: 24

PostPosted: Fri Jun 24, 2022 10:28 pm    Post subject: Reply with quote

Hu
My cases are #1 and #3. As far as I know reaching a banned site is not a crime in Russia at least at the moment as well as using VPN.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum