12/17/2022

Setup OpenVPN server on AWS 翻墙

GFW可以很容易检测到OpenVPN,封锁端口,一般只能用一天就不能用了。所以这种办法还是不要用了。应该使用trojan:GitHub - trojan-gfw/trojan: An unidentifiable mechanism that helps you bypass GFW.

1. Find a region that's close to you. Launch an EC2 machine, search for an OpenVPN image from the market place. Choose the Bring Your Own License option

2. Mostly follow this site: How to create a free VPN server on AWS | by Israel Aminu | Towards Data Science

3. After you can login to the Admin page, make the following changes:

1) In the VPN Settings, Routing, Should VPN clients have access to private subnets (non-public networks on the server side)? -> Yes using Routing

2) DNS Settings, Have clients use specific DNS servers. Yes, Primary DNS Server->8.8.8.8, Secondary DNS Server->8.8.4.4

3) Change Server Network Settings, VPN Server | Hostname or IP Address: -> public IP address of the server 

 

4. Unlimited hack: ✔️ Remove restrictions from OpenVPN Access Server | RuCore.NET - English Version or https://drive.google.com/file/d/1Wp3h1VBJUY7eaLuUtMewbP1iS-tEGNbf/view?usp=sharing  

 

No comments: