Skip to content

Instantly share code, notes, and snippets.

Avatar

BraveLittleRoaster

View GitHub Profile
View port_mirror.sh
#!/bin/bash
# Port mirroring script for XenServer and Security Onion
# Author: https://reddit.com/u/Brave_Little_Roaster
# Set this to the interface on XenServer that recieves mirrored traffic
MON="eth1"
# Set this to the XenBridge that VMs will use to recieve mirrored traffic
XBR="xenbr1"
# Gets the DOM-ID of the Security Onion VM. Needed for finding the virtual interface name (vif)
You can’t perform that action at this time.