Re: Forwarding traffic to smtp server

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

 



On Tuesday 02 March 2004 10:16 pm, Travis Crook wrote:

> Hi All,
> 	I have a question for you.  These are my current rules for sending
> traffic on port 25 to my mail server.  I'm running kernel 2.4.
>
> They seem to work other than my mail server views all packets as coming
> from the firewall and not from external IP addresses.  Is there a way to
> get the originating IP address to my mail server?

I'll bet you have a SNAT or MASQUERADE rule which you didn't bother to tell 
us, which applies to all interfaces.   Change it so it applies only to your 
external interface and you should be a happier person.

Antony.

-- 
Anyone that's normal doesn't really achieve much.

 - Mark Blair, Australian rocket engineer

                                                     Please reply to the list;
                                                           please don't CC me.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux