Can you help me with this problem please?How can I set e-mail alerting after SSH login when port 22 is NATed? I use Linux Debian 7.I have used these iptables rules:eth0 - external network, eth1 - internal network    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEiptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPTiptables -A FORWARD -i eth1 -o eth0 -j ACCEPTThanks for your replies.
SSH E-mail login alert if SSH port is as NAT
debian;ssh;iptables;nat