Mini Shell

Direktori : /opt/sharedrads/oldrads/extras/
Upload File :
Current File : //opt/sharedrads/oldrads/extras/fixfirewall.sh

#!/bin/bash

NAO=$(date +%s)

iptables -L -n > /root/iptables-$NAO.log

cat /root/iptables-$NAO.log  | mail tier3@imhadmin.net -s "iptables report: `hostname -s`"

echo "Thank you, the iptables output has been mailed to T3 for review."

service apf restart

Zerion Mini Shell 1.0