iptables rules do not work

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

 



Hello,

 

I have the exact same rules here for the exact same machine.

 

I can connect internal to this machine on the ports specified but the rules are not working for the IMAP server, they work no problem for the SMTP server.

 

ACCEPT     tcp  --  anywhere             10.10.10.2         tcp dpt:smtp

DNAT       tcp  --  anywhere             static-89-102.dsl.tht.nettcp dpt:smtp to:10.10.10.2:25

DNAT       udp  --  anywhere             static-89-103.dsl.tht.netudp dpt:smtp to:10.10.10.2:25

DNAT       tcp  --  anywhere             static-89-103.dsl.tht.nettcp dpt:smtp to:10.10.10.2:25

SNAT       tcp  --  10.10.10.0/24        10.10.10.2         tcp dpt:smtp to:10.10.10.1

 

ACCEPT     tcp  --  anywhere             10.10.10.2         tcp dpt:imap

DNAT       tcp  --  anywhere             static-89-102.dsl.tht.nettcp dpt:imap to:10.10.10.2:143

DNAT       tcp  --  anywhere             static-89-103.dsl.tht.nettcp dpt:imap to:10.10.10.2:143

DNAT       udp  --  anywhere             static-89-103.dsl.tht.netudp dpt:imap to:10.10.10.2:143

SNAT       tcp  --  10.10.10.0/24        10.10.10.2         tcp dpt:imap to:10.10.10.1

 

 

Any dieas why I can't connet to IMAP?

Scott Montreuil  Enterprise Systems Analyst
MyTravel
Canada  scott.montreuil@xxxxxxxxxxx 
130 Merton Street Ph: (416) 485-1481x6612
Toronto ON, M4S 1A4     Fa: (416) 482-5909

 


[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