All of lore.kernel.org
 help / color / mirror / Atom feed
* mails not coming thru'
@ 2004-12-05  9:48 Varun Pabrai
  2004-12-05 14:04 ` Samuel Jean
  0 siblings, 1 reply; 2+ messages in thread
From: Varun Pabrai @ 2004-12-05  9:48 UTC (permalink / raw)
  To: netfilter

Hello,
       My server is on Mandrake 10.1 off.
eth0 is gateway with static IP connected to 512Kbps DSL.
eth1 is LAN.

I went to webmin ->networking -> linux firewall.
I did a NAT on eth0.

Then I added rules using packet filtering for 
sending and recieving mails as follows :

accept if network protocol is TCP and destination port is 110

accept if network protocol is TCP and destination port is 25

saved and applied configuration and rebooted.

But I am not able to send or recieve mails on client 
machines. Why ?

Anybody has any idea please help.

Thanks

Varun


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mails not coming thru'
  2004-12-05  9:48 mails not coming thru' Varun Pabrai
@ 2004-12-05 14:04 ` Samuel Jean
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Jean @ 2004-12-05 14:04 UTC (permalink / raw)
  To: Varun Pabrai, netfilter

Varun Pabrai wrote:

>Then I added rules using packet filtering for 
>sending and recieving mails as follows :
>
>accept if network protocol is TCP and destination port is 110
>  
>
add: accept if network protocol is TCP and source port is 110

>accept if network protocol is TCP and destination port is 25
>  
>
add: accept if network protocol is TCP and source port is 25

>saved and applied configuration and rebooted.
>
>But I am not able to send or recieve mails on client 
>machines. Why ?
>  
>
What happens is (I guess) your mailserver receives the packet, but when
answering, it gets dropped because the source port is now 25.

Same thing for your POP server.

>Anybody has any idea please help.
>  
>
HTH,

Samuel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-05 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-05  9:48 mails not coming thru' Varun Pabrai
2004-12-05 14:04 ` Samuel Jean

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.