Make and Connect temporal WireGuard VPN server on AWS.
VPN server will be terminated automatically when you disconnect the VPN.
This How to Use
page is written mainly for Windows users. I expect Linux Users can do it!
- Install
WireGuard
. Go to WireGuard installation page and download the Windows installer.- if you're a Mac user. try
brew install wireguard-tools
on terminal
- if you're a Mac user. try
- Configure AWS. Go to AWS IAM Users management page and click
add user
button- 1st page
- name:
AWS-WIREGUARD
- access type:
programming type
- click
Next: Permissions
button
- name:
- 2nd page
- click
Attach existing policies directly
- click
Create policy
then sub-page will be opened- click
JSON
- Copy and paste the content of
access.txt
- click
Next
button - click
Next
button - Name:
AWS-WIREGUARD
- click
Create policy
button - close the window and go back to original page
- click
- click refresh button
- find
AWS-WIREGUARD
policy and check it - click
Next: Tags
button
- click
- 3rd page
- click
Next: Review
button
- click
- 4th page
- click
Create user
button
- click
- 5th page
- click
Download .csv
button. ***.csv
file will be downloaded. this file contains the secret key to access AWS resource. Do not share/upload secret key.- copy the file into current folder and rename it
credentials.csv
- click
- Done!
- 1st page
- Install Python and Pip. (Use Google!)
- open PowerShell(Windows) or Terminal(Linux)
pip install -r requirements.txt
python3 vpn.py