Jigsaw-Code / outline-sdk

SDK to build network tools based on Outline components.
https://getoutline.org/for-developers/
Apache License 2.0
316 stars 47 forks source link

Does this bypass US sanctions? #82

Closed ehsan-g closed 1 year ago

ehsan-g commented 1 year ago

I came across an article suggesting that this method could potentially assist Iranians in circumventing censorship imposed in Iran. However, as a developer residing in Iran, I can't help but feel the impact of discrimination caused by the US technology sanctions. Numerous third-party libraries yield a 403 error, and it's rather ironic that US-based companies, particularly those operating in the blockchain realm, prominently feature the term "decentralized" on their websites, all while they have imposed IP address restrictions on Iranians. WalletConnect serves as a prime example. My inquiry revolves around whether this approach can also aid in bypassing US sanctions?

MartinHennrich commented 1 year ago

I suppose Outline should be used in Iran but I fear that the government will punish you in that case.

amircybersec commented 1 year ago

@ehsan-g Unfortunately large tech companies still block Iran IP addresses from accessing some of their services (especially enterprise, cloud services, etc) in order to comply with US sanctions. Some of these policies are unfortunately hurting the citizens of Iran who depend on many of these infrastructures to bypass censorship. Some serious policy making in US needs to be done there to relax some of these restrictions.

When it comes to hosting an Outline VPN server, there are many VPS service providers that are technically accessible from Iran. Outline technology itself is open source and is not tied to a specific service provider.

@MartinHennrich Outline clients and other VPN services are widely used in Iran albeit the inherent risk. Almost every Iranian citizen online these days uses some kind of VPN service to bypass censorship. The sheer scale and number of users for these services makes it almost impossible to the government to criminalize/prosecute.

ehsan-g commented 1 year ago

@amircybersec I was hoping to use it inside my PWA/web App, but apparently only available for Android and iOS.

amircybersec commented 1 year ago

@ehsan-g I think it would be possible to compile the golang application into web assembly (.wasm) to run it inside the browser. I have not tested or done this before but I think it would be possible. Here's some pointer: https://www.sitepen.com/blog/compiling-go-to-webassembly