khavishbhundoo / obfsproxy-openvpn

Bash script to setup openvpn with obfsproxy to defeat censorship
MIT License
111 stars 33 forks source link

Obfsproxy is not working ( anymore ) #6

Open LeVeloute opened 5 years ago

LeVeloute commented 5 years ago

Hi, I'm use obfs+openvpn since a year in my campus network to allow the esport club of the school to connect into Steam and Battle.net ! It was perfectly working and i really thank you for your work.

But : Since few day it seems that the censorship of the network get more highter, and we have now some error when we try to connect to the tunnel. Here is the error in OPENVPN :

Tue Oct 23 11:28:09 2018 recv_socks_reply: TCP port read timeout expired Tue Oct 23 11:28:09 2018 SIGUSR1[soft,init_instance] received, process restarting Tue Oct 23 11:28:09 2018 MANAGEMENT: >STATE:1540286889,RECONNECTING,init_instance,,,,, Tue Oct 23 11:28:09 2018 Restart pause, 5 second(s)

And the error on Obfsproxy.exe :

2018-10-23 11:31:45,378 [ERROR] CMD CONNECT: TCP connection timed out: 10060: Une tentative de connexion a ÚchouÚ car le parti connectÚ nÆa pas rÚpondu convenablement au-delÓ dÆune certaine durÚe ou une connexion Útablie a ÚchouÚ car lÆh¶te de connexion nÆa pas rÚpondu..

( who is in french, but it's just a timeout ).

Our server run in centos 7, and we reinstall it. It didnt change anything.

We can access the tunnel using home network, or shared connection from smartphone without any problems. The SSH protocol is not blocked on our school network ( we can access our vps using putty ).

Do you have an idea of what's wrong ? :( Thanks by advance!

khavishbhundoo commented 5 years ago

Hi LeVeloute, Can you try to put the socks5 on another common port like 80 rather than 1050.Just edit the configuration files scrambled-client.ovpn and restart the openvpn server with systemctl restart openvpn@server

Ofcourse you need to change the port obfsproxy connect to:

obfsproxy.exe --log-min-severity info obfs3 socks 127.0.0.1:80 or obfsproxy --log-min-severity info obfs3 socks 127.0.0.1:80