Date: Mon, 20 Nov 2000 21:02:09 -0000 From: Daniel Podolsky <daniel.podolsky@twelvehorses.com> To: "'Hamilton Hoover'" <hamilton@twopoint.com>, Nick Rogness <nick@rapidnet.com> Cc: freebsd-questions@FreeBSD.ORG Subject: RE: dual homed gateway system running ipfw and nat. need rules he lp. Message-ID: <856E94D34FF3D311B5FE00508B6B8BD22A34F9@BlackWidow.twelvehorses.int>
next in thread | raw e-mail | index | archive | help
Hi, >>>${fwcmd} pass tcp from any 25 to 192.x.x.x Will not work because nobody in internet know how to reach your private addresses. As far as I can understand you have a mail server inside and you would like incoming mail to be delivered to this server. Is it quite? Also you would like to use your qmail inside as a outgoing server for your mail clients. Is it quite? The simple and finest solution is to configure your gateway as a mail relay. Gateway should receive you mail and forward it to your inside server. Also gateway should receive mails from inside and relay it to Internet. Use "mailertable" feature for sendmail or "smtproutes" for qmail. Do not forget to allow corresponding traffic in a IPFW. something like allow tcp from any to <YourPublicAddress> 25 allow tcp from <YourPublicAddress> to any 25 Please do nor hesitate to ask again if something unclear. Also you can comfigure your gateway for divetr incoming packets to port 25 to you inside mail server but it is more sophisticated... With best reagrds, Daniel Podolsky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?856E94D34FF3D311B5FE00508B6B8BD22A34F9>