You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you have a local server (a VPS inside your country) called server A and your destination server where ocserv is installed is called server B. First, make sure OCServ is active on server B without errors.
Hi buddy! I am from turkmenistan and in my country the vpn blocking a lot so what do you mean by local server i do not understand you clearly
The text was updated successfully, but these errors were encountered:
you have a local server (a VPS inside your country) called server A and your destination server where ocserv is installed is called server B. First, make sure OCServ is active on server B without errors. Hi buddy! I am from turkmenistan and in my country the vpn blocking a lot so what do you mean by local server i do not understand you clearly
Hello
Yes, VPNs are blocked, but SSH is not. Countries that block VPN only impose restrictions on VPN protocols. For example, Ocserv is blocked in your country, but SSH is not blocked. You can buy a cheap Linux server in your country and use the method I mentioned to create an SSH tunnel and connect to your main server ocserv through it. In this way, because countries do not block SSH, you can easily connect to ocserv or other VPNs on your main server using SSH tunnel. SSH tunnel will be an intermediary tunnel for transferring your data.
In normal situation and without restrictions, if you want to connect to your VPN server, you use the IP and port of your VPN server to connect to ocserv:
For example, The IP and port of your ocserv server is:
2.2.2.2:2222
But if your country has blocked VPN, you can create a tunnel using the following command from your local server:
ssh -p 22 -f -N -L 0.0.0.0:2222:2.2.2.2:2222 root@2.2.2.2
Now you can connect to Ocserv on the main server through the created tunnel with the following IP and port:
For example, 1.1.1.1 is the IP of your local server
1.1.1.1:2222
You can use this method for Ocserv, Shadowsocks, Openvpn, Softether, etc.
you have a local server (a VPS inside your country) called server A and your destination server where ocserv is installed is called server B. First, make sure OCServ is active on server B without errors.
Hi buddy! I am from turkmenistan and in my country the vpn blocking a lot so what do you mean by local server i do not understand you clearly
The text was updated successfully, but these errors were encountered: