+1-323-999-6135 blog@hegars.com

Cisco ISDN

! card type e1 1 ! network-clock-participate E1 1/0 ! isdn switch-type primary-net5 ! controller E1 1/0 framing NO-CRC4 pri-group timeslots 1-31 ! ! interface Serial1/0:15 no ip address encapsulation hdlc isdn switch-type primary-net5 isdn incoming-voice voice !...

EBTABLES

Layer2 Based NAT   broute.sh #/bin/bash ETH0MAC=11:11:11:11:11:11 VM1IP=2.2.2.2 VM1MAC=22:22:22:FF:FF:FF VNET0MAC=22:22:22:00:00:00 VM2IP=3.3.3.3 VM2MAC=33:33:33:FF:FF:FF VNET1MAC=33:33:33:00:00:00 #br0 Link encap:Ethernet HWaddr 11:11:11:11:11:11 #eth0 Link...

VPN Windows Split Tunnel

Running a VPN server via RADIUS that can not send framed routes so had to manually setup split tunnels, so in windows 10 Powershell ROUTE add Set-VpnConnection -ConnectionName "vpn.host.net" -SplitTunneling 1 Add-VpnConnectionRoute -ConnectionName "vpn.host.net"...

Console Plotting

Using GNUPLOT (feedgnuplot for pipe loading) and SHUF (for sample data) to generate graphs on a console shuf -r -n 50 -i 0-9 | feedgnuplot --lines --terminal 'dumb 160,40' --exit Links GNUPLOT...

FFMPEG

Pull in an iso and stream it ffmpeg -re -i MWC-D01.iso -map 0:1 -map 0:4 -c:v:1 copy -c:a:0 libmp3lame -b:a:4 192k -f mpegts udp://192.168.254.1:1234 fmpeg -re \ -i MWC-D01.iso \ -map 0:1 -map 0:4 \ -c:v:1 copy \ -c:a:0 libmp3lame -b:a:4 192k \ -f mpegts...