Skip to content

dajohein/OpenVPN-Powershell-Whitelist-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

OpenVPN Powershell Whitelist Tool

A simple Powershell script for Windows, downloads a list of know ip-ranges from Microsoft Office 365 and Google and generates a whitelist to be used in OpenVPN.

Uses the Google ip-ranges webservice:

https://www.gstatic.com/ipranges/goog.json

and Office 365 IP Address and URL web service:

https://docs.microsoft.com/en-us/microsoft-365/enterprise/microsoft-365-ip-web-service?view=o365-worldwide

No guarantees, feel free to extend this script with your own additional desires ip-ranges.

Automate the world! #PowerShell