ssh tunnel for smtp


ssh -o "ServerAliveInterval 60" -o "ServerAliveCountMax 120" -f -N -L 2525:localhost:25 root@mx.server.net
iptables -t nat -A OUTPUT -p tcp --dport 25 -j DNAT --to-destination 127.0.0.1:2525

Views All Time
Views All Time
51
Views Today
Views Today
1

Leave a Reply

Your email address will not be published. Required fields are marked *