This is a multi-part message in MIME format. ------=_NextPart_000_0050_01C278A1.2D5729B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Can anyone help me with this? I'm trying to telnet to 1.2.3.4 port 25 Where I'm DNATing 1.2.3.4 to 1.2.3.5 telnet is still trying to connect to 1.2.3.4 but it never get any connections. Here is my nat table. mailserv:/etc# /sbin/iptables -L -t nat Chain PREROUTING (policy ACCEPT) target prot opt source destination DNAT all -- anywhere 1.2.3.4 to:1.2.3.5 Chain POSTROUTING (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination DNAT all -- anywhere 1.2.3.4 to:1.2.3.5 Thanks Morgan ------=_NextPart_000_0050_01C278A1.2D5729B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DProgId content=3DWord.Document> <meta name=3DGenerator content=3D"Microsoft Word 10"> <meta name=3DOriginator content=3D"Microsoft Word 10"> <link rel=3DFile-List href=3D"cid:filelist.xml@01C278A1.2A058DB0"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:HyphenationZone>21</w:HyphenationZone> <w:EnvelopeVis/> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} span.E-postmall17 {mso-style-type:personal-compose; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:windowtext;} span.SpellE {mso-style-name:""; mso-spl-e:yes;} span.GramE {mso-style-name:""; mso-gram-e:yes;} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 70.85pt 70.85pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */=20 table.MsoNormalTable {mso-style-name:"Normal tabell"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} </style> <![endif]--> </head> <body lang=3DSV link=3Dblue vlink=3Dpurple = style=3D'tab-interval:65.2pt'> <div class=3DSection1> <p class=3DMsoNormal><span class=3DSpellE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Hi</span></font></span><font= size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p= > <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Can anyone help me = with this?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>I’m trying to = telnet to 1.2.3.4 port 25<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Where I’m <span class=3DSpellE>DNATing</span> 1.2.3.4 to = 1.2.3.5<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>teln= et</span></font></span><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; mso-ansi-language:EN-GB'> is still trying to connect to 1.2.3.4 but it = never get any connections.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Here is my <span class=3DSpellE>nat</span> table.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><span class=3DSpellE><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>mail= serv</span></font></span><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; mso-ansi-language:EN-GB'>:/etc# /<span = class=3DSpellE>sbin/iptables</span> -L -t <span class=3DSpellE>nat</span><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Chain <span = class=3DSpellE>PREROUTING</span> (policy ACCEPT)<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>targ= et</span></font></span><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; mso-ansi-language:EN-GB'><span style=3D'mso-spacerun:yes'> </span><span = class=3DSpellE>prot</span> opt source<span style=3D'mso-spacerun:yes'> &nbs= p; </span>destination<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DSpellE><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>DNAT= </span></font></span><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; mso-ansi-language:EN-GB'><span style=3D'mso-spacerun:yes'> = </span><span class=3DGramE>all<span style=3D'mso-spacerun:yes'> = </span>--</span><span style=3D'mso-spacerun:yes'> </span>anywhere<span style=3D'mso-spacerun:yes'> &nbs= p; </span>1.2.3.4<span style=3D'mso-tab-count:1'> = </span>to:1.2.3.5<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Chain <span = class=3DSpellE>POSTROUTING</span> (policy ACCEPT)<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>targ= et</span></font></span><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; mso-ansi-language:EN-GB'><span style=3D'mso-spacerun:yes'> </span><span = class=3DSpellE>prot</span> opt source<span style=3D'mso-spacerun:yes'> &nbs= p; </span>destination<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Chain OUTPUT (policy = ACCEPT)<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>targ= et</span></font></span><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; mso-ansi-language:EN-GB'><span style=3D'mso-spacerun:yes'> </span><span = class=3DSpellE>prot</span> opt source<span style=3D'mso-spacerun:yes'> &nbs= p; </span>destination<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DSpellE><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>DNAT= </span></font></span><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; mso-ansi-language:EN-GB'><span style=3D'mso-spacerun:yes'> = </span><span class=3DGramE>all<span style=3D'mso-spacerun:yes'> = </span>--</span><span style=3D'mso-spacerun:yes'> </span>anywhere<span style=3D'mso-spacerun:yes'> &nbs= p; </span>1.2.3.4<span style=3D'mso-tab-count:1'> = </span>to:1.2.3.5<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Thanks<o:p></o:p></span= ></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Morgan = <o:p></o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_0050_01C278A1.2D5729B0--