Skip to content

Converts generic AWS VPN config to a set of commands to execute on an Ubiquiti EdgeRouter

Notifications You must be signed in to change notification settings

DSAutomations/EdgeRouter-AWS-VPN-Dynamic-Config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

EdgeRouter-AWS-VPN-Dynamic-Config

Converts a generic AWS VPN config to a set of commands to execute on an Ubiquiti EdgeRouter

Please note that this script is for configuring dynamic routes with BGP, and is based on the oficial Ubiquiti guide: EdgeRouter - IPsec Route-Based Site-to-Site VPN to AWS VPC (BGP over IKEv1/IPsec)

Download the vpn-xxxxxxxx.txt file after configuring your VPN connection in your AWS console. Pass the file path as the first argument to this script. The script will then prompt you for the CIDR block of your LAN and VPC. There is currently no input validation on these fields so please make sure you enter them correctly!

The script will then return a set of commands which can be passed to your EdgeRouter CLI.

About

Converts generic AWS VPN config to a set of commands to execute on an Ubiquiti EdgeRouter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages