I have a customer using SME 6.01 as their internet gateway/router.
For some reason (I think their ISP is restricting them having an SMTP server), they are trying to configure their mail clients behind the NAT to access the ISPs SMTP server to send mail. They are saying that the traffic is being directed to the SME box SMTP anyway - is this true? Is there a quick way around it?
Here's a bit that their consultant sent me.. Any suggestions? Should we just change the SME Template to have iptables remove this rule and expand the template?
Thanks,
Chris Buechler
[root@linux1 root]# iptables -t nat -L
<snip! below is only the rules for SMTP>
Chain SMTPProxy (1 references)
target prot opt source destination
ACCEPT all -- anywhere localhost
ACCEPT all -- anywhere linux1.butte.com
ACCEPT all -- anywhere buttepro.static.mt.net
DNAT tcp -- anywhere anywhere to:192.168.6.50:25
Notice the last one: it is routing any port 25 request through the gateway to itself. And subsequently, any attempt to connect to the proper mail server, mail.mt.net, is picked up by the SMTP service running on the Linux machine. (Disabling that service predictably results in no connection).