Skip to content

Instantly share code, notes, and snippets.

View sunnoy's full-sized avatar
🎯
Focusing

sunnoy

🎯
Focusing
View GitHub Profile
@ole1986
ole1986 / traffic-control.sh
Last active May 14, 2024 11:08
Traffic control script for incoming and outgoing packages using TC (on a specific ip address)
#!/bin/bash
VERSION="1.0.2"
# Interface connect to out lan
INTERFACE="eth0"
# Interface virtual for incomming traffic
VIRTUAL="ifb0"
# set the direction (1 = outgoing only, 2 = incoming only 3 = both)
DIRECTION=3
# Speed
@sunnoy
sunnoy / Jenkinsfile
Created July 16, 2019 10:16 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples