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

Please help the Iranian peoples with sharing script for easy setup LightWay vpn server #57

Closed
hosein-moayedi opened this issue Oct 5, 2022 · 12 comments

Comments

@hosein-moayedi
Copy link

Hi there!
I am an Iranian developer.
If you subscribe to the news, IRAN has blocked all protocols with DPI we can't connect to VPN. We need yours help for setup this protocol with simple script because LightWay protocol not detected by DPI right now and express VPN is working with this protocol.

We can't buy an express VPN for some problems in communicating with national banks and payment getaways. So, we just can setup our VPN servers.

IRAN needs your help

Please make an update and simple script with the last version of lightway-core and replay the link to this message 🙏

I very tried to use from lightway-laser but that is a very old source and I had some issues and errors.

@hosein-moayedi
Copy link
Author

@expressvpn-raihaan-m Please help IRAN

@mohammadsadeghforoughi
Copy link

Does anybody hear us?
@expressvpn-lee-a
@expressvpn-pete-m
@expressvpn-raihaan-m

@expressvpn-pete-m
Copy link
Collaborator

Sorry to hear that you're having trouble building Laser!

Our builds are configured to always pull the latest version of Lightway Core during the build process, and so the build should never become outdated. You mentioned you had some issues and errors - could you please share the errors and the messages that you're seeing?

We are committed to ensuring that Laser always works with Lightway Core as it is how people try out, verify and validate the technology. If the build system is broken for whatever reason, we will do our best to get it working again.

Thanks!

@EbrahimTahernejad
Copy link

Hi there! I am an Iranian developer. If you subscribe to the news, IRAN has blocked all protocols with DPI we can't connect to VPN. We need yours help for setup this protocol with simple script because LightWay protocol not detected by DPI right now and express VPN is working with this protocol.

We can't buy an express VPN for some problems in communicating with national banks and payment getaways. So, we just can setup our VPN servers.

IRAN needs your help

Please make an update and simple script with the last version of lightway-core and replay the link to this message 🙏

I very tried to use from lightway-laser but that is a very old source and I had some issues and errors.

touch /usr/include/stropts.h
Do this before building, the libuv library includes this but doesn't use it, also don't forget to install
build-essentials

@EbrahimTahernejad
Copy link

Sorry to hear that you're having trouble building Laser!

Our builds are configured to always pull the latest version of Lightway Core during the build process, and so the build should never become outdated. You mentioned you had some issues and errors - could you please share the errors and the messages that you're seeing?

We are committed to ensuring that Laser always works with Lightway Core as it is how people try out, verify and validate the technology. If the build system is broken for whatever reason, we will do our best to get it working again.

Thanks!

I successfully ran it
the issue is the tcp protocol
when we use the Express VPN app, the only way we can connect is lightway-tcp
so ... is there any plans to add tcp support anytime soon?

this is one of the few protocols left that still work for us

@expressvpn-pete-m
Copy link
Collaborator

I have wanted to add TCP support for a while, and there is a PR that was started by @sheharyaar here :

expressvpn/lightway-laser#2

At the time we were getting some weird errors when reading from the socket.

I'll take another look at this as @sheharyaar did put in a lot of effort - but feel free to also take a look.

@abtinji
Copy link

abtinji commented Oct 22, 2022

@EbrahimTahernejad , lightway_tcp doesn't connect to expressvpn servers since last 3 days for me, Are you still able to connect with lightway_tcp?

@expressvpn-pete-m , ExpressVPN can't get activated with IPs sourced from iran, Not really sure but that seems the activation requests goes to the third party servers which are probably hosted on AWS or such, where Iran's IPs are blocked due to US sanctions. I'm not quiet sure about the authentication mechanism, but have you guys made any changes for authentication process recently?

Here is my diagnostic logs, Running on Centos7 :

Lightway: 1.28.1 Lightway Core: 1.6.2 WolfSSL: 5.4.0 libxenon: 1.5.0 libballoon: 1.8.0
Loading config data from file: /var/run/expressvpn/config/he2931587164/helium.conf
Lightway will connect to xxx.xxx.xxx.xxx:443 using protocol: tcp, cipher: aes, mtu: 1500
Lightway TCP connection established with xxx.xxx.xxx.xxx:443
Lightway is CONNECTING
Received signal: 15
he_execute: starting /usr/sbin/expressvpnd --update-dns-config=static_resolv_conf
he_execute: process exited 0 (signal 0)
Lightway DISCONNECTED (disconnect_and_stop).
Lightway STOPPED
Lightway FINISHED
Disconnected with error: vpn connection timeout

@expressvpn-pete-m
Copy link
Collaborator

Although I can't debug individual connection issues with the ExpressVPN App here, by the looks of it, you aren't able to establish a TLS session as there is no mention of authentication (probably due to some sort of timeout).

@sajjadintel
Copy link

Please help Iranians the only protocol connects is lightway.

@MrAliSalehi
Copy link

Please help Iranians the only protocol connects is lightway.

they will close the lightway as well, just a matter of time.

@rezarms
Copy link

rezarms commented Dec 27, 2022

@EbrahimTahernejad I'm a little confused.
Were you able to run lightway on your own server and using Expressvpn app to connect to your custom server?

@expressvpn-pete-m
Copy link
Collaborator

I'm going to close this issue now as it hasn't been updated in many months. We are working on a new improved version of the Lightway implementation that will come with an improved client and server. This will be easier to set up and use in any environment.

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

8 participants