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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
xsFNBGIuWT8BEADQ68ZNDTUqgldHk/nwnQ3g+d2ECZHShsfGzMI2Id0Fr/W49Trk | |
8b9wPFAvJneLDYLlSuuCHMdz6BpoYjeiJ9D59Rn8iY496yN2Bod+oRW3ZKP1c5/z | |
6RVtNT0OV9x9kYxeBeOVYabo0LEl3WOsUmDlfH8xb2udoQuZ9jOaahMtyx4LC7Wn | |
NuWVBdIab92jmwg86oyFQuOwV1b/927RlspVlDH32YwWnfSelj8EqL339zL14Idb | |
s7sYibJQ6U34oGMoYJRPZ2xq8AeFmNvn+00Q0Jq1A8vi4TiB5iJeWpkgszzHmboU | |
odFBSYt/zYMYeFLnxT/7FqUDUiTA9ScXyKNP2mwoIvfUNnrvjwIOsSLaxEEBDcPx | |
DbMBQMY5Oy0gNfxwAjKQFr+jatJcwn2gZNhyloaqHfeyVT0o+nJis/RYk/cfFFKQ | |
xN+NPAIDHcpHEObJGMSTXyqRdn61IZBJahPLtztj6ptQeTEfQwcwr2YGNAicgLcz |
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
#!/bin/bash | |
# This script is meant to be run as root at boot via cron | |
# add "@reboot /root/erspan.sh" to crontab -e | |
# you can have multiple scripts for multiple tunnels | |
# This will allow you to set up a Erspan v1 tunnel and mirror all traffic from interface x to the erspan | |
# Author: Steven Myers samyers911@gmail.com | |
######Configure##### | |
#Direction ingress=port to erspan, egress= erspan to port | |
direction=ingress |
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
#!/bin/bash | |
### basic settings | |
WAN_INTF=wan0 | |
WAN_UP_SPEED=5000000 | |
WAN_DOWN_SPEED=100000000 | |
### advanced settings | |
TQDISC=fq_codel |