This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Simple script to parse Amazon EC2 IP Range JSON file and Netflix ASN blocks into OpenVPN routes | |
* | |
* Running the script with the tunnel argument changes the routes to not have net_gateway added to them | |
* in the event you are specifically routing certain traffic over the tunnel | |
* | |
* Created by PhpStorm. | |
* User: b3rs3rk | |
* Date: 11/26/2016 |