#!/bin/bash netstat -ltunp | awk '/^(tcp|udp)/{ if(NF==6){ $5=$5" LISTEN" }…