Git Product home page Git Product logo

test-azurermtraffic's Introduction

Test-AzureRmTraffic

Description

Test traffic against NSG rules for a given set of traffic parameters.

Usage

  1. Run PowerShell console
  2. Run Login-AzureRmAccount
  3. Run Select-AzureRmSubscription
  4. Run Test-AzureRmTraffic script (ex. Test-AzureRmTraffic.ps1 -VMName VMName -SourceIPv4Address 10.0.0.4 -SourcePort 500 -DestinationIPv4Address 10.0.0.5 -DestinationPort 500 -Protocol TCP -Direction Inbound)

Parameter

  • Required
    • VMName
    • SourceIPv4Address
    • SourcePort
    • DestinationIPv4Address
    • DestinationPort
    • Protocol
    • Direction

Sample

.\Test-AzureRmTraffic.ps1 -VMName shudaVM -SourceIPv4Address 192.168.0.4 -SourcePort 80 -DestinationIPv4Address 10.0.0.5 -DestinationPort 80 -Protocol TCP -Direction Inbound


Access : Allow
Priority : 65000
Name : defaultSecurityRules/AllowVnetInBound
Protocol : All
SourceAddressPrefix : VirtualNetwork
SourcePortRange : 0-65535
DestinationAddressPrefix : VirtualNetwork
DestinationPortRange : 0-65535
Direction : Inbound


Access : Deny
Priority : 65500
Name : defaultSecurityRules/DenyAllInBound
Protocol : All
SourceAddressPrefix : 0.0.0.0/0
SourcePortRange : 0-65535
DestinationAddressPrefix : 0.0.0.0/0
DestinationPortRange : 0-65535
Direction : Inbound


Requirements

This script need Latest version of Azure PowerShell module.

How to install and configure Azure PowerShell (Doc: English | Japanese)

Lincense

Copyright (c) 2016-2017 Syuhei Uda Released under the MIT license

Release Notes

  • 2017/01/14 Ver.0.9.0 (Preview Release) : 1st Release

test-azurermtraffic's People

Contributors

shuheiuda avatar

Stargazers

Pedro Perez avatar HARA Yuichiro avatar Yusuke Matsumoto avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.