[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables help to forward ports please



On Wed, Mar 19, 2003 at 11:26:10PM -0600, Hanasaki JiJi wrote:
> been trying to get the following to work for sometime.... input is most 
> appreciated
> 
> 
> internet <=25= firewall iptablerule =port#x=> internalSMTPhost
> 
> how can the firewall be told to:
> 	take all incoming tcp port 25 traffic and send it to
> 	smtp host on port X

iptables .. redirect

> 
> 	take all outgoing traffice from smtphost <port25only>
> 	and send it out to the internet on port 25

.. forward [ and masq ]

> 
> Thank you.

but to me it seems more appropriate to use a simple store and forward
smtp deamon on the firewall.

	Lars



Reply to: