| Allow SMTP through port 26 With the ever growing popularity for Broad Band providers these days blocking SMTP connections on port 25 I have a quick and dirty way to allow your clients to still use your SMTP servers to send their mail without having to resort to using their broad band providers SMPT servers.
This is an IP Tables work-around for your mail server that opens up port 26 and routes all mail to port 25 so that users could set their mail client to port 26 and still use your servers. This allows the clients that don't want to use their ISP mail settings to still connect.
$IPTABLES -t nat -A PREROUTING -t nat -p tcp -d SERVER_IP_HERE --dport 26 -j DNAT --to SERVER_IP_HERE:25
Just copy the above text, paste it onto the command line, replace the two SERVER_IP_HERE's with the IP address of the mail server and press enter. Then enter "service iptables restart" into the command line and press enter and then after its done rebooting port 26 will be open and will route all connections to port 25 and the server will treat them as if the connection was to port 25.
I hope this helps some of you. I hate how the board band companies are blocking port 25 now. It is making things hard for us hosts.
__________________ (Red Pepper)A Microsoft Products Blog with other Technology Updates.
|