Ubuntu - Monitor Traffic Over VPN Tunnel
29 Nov 2019The script below uses the watch
command to execute the ifconfig
program every second and highlight the differences. I recently needed to verify that all my traffic was going through a specific VPN tunnel.
watch -n 1 -d ifconfig tun0