mirror of
https://github.com/gotbletu/shownotes
synced 2024-11-10 19:10:36 +00:00
8 lines
330 B
Plaintext
8 lines
330 B
Plaintext
# this is notes for video: http://www.youtube.com/watch?v=u1dQ81HT4AU
|
|
|
|
sniff-begin() { sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT ;}
|
|
|
|
sniff-capture-rtmpsrv() { rtmpsrv ;}
|
|
|
|
sniff-end() { sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT ;}
|