<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Shell Dlg";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>I’m trying to open a port for imap and having a
bitch of a time at it.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>I have imap running from the following results:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'># nmap -n -O -p 143 -sS 192.168.1.100<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>Starting Nmap 4.11 ( http://www.insecure.org/nmap/ )
at 2008-12-09 09:21 WST<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>Warning:  OS detection will be MUCH less reliable
because we did not find at least 1 open and 1 closed TCP port<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>Interesting ports on 192.168.1.100:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>PORT    STATE SERVICE<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>143/tcp open  imap<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>MAC Address: 00:14:5E:2B:67:2A (IBM)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>Device type: general purpose<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>Running: Novell NetWare 6.X<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>OS details: Novell NetWare 6 SP1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>Nmap finished: 1 IP address (1 host up) scanned in
1.118 seconds<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>The issue is in the iptables firewall.  I’m
having the following rules:<o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none'><font
size=2 color=black face="MS Shell Dlg"><span style='font-size:10.0pt;
font-family:"MS Shell Dlg";color:black'>$IPT -A FORWARD -i $INT_IFACE -d
192.168.1.100 -p tcp --dport 143 -j ACCEPT<o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none'><font
size=2 color=black face="MS Shell Dlg"><span style='font-size:10.0pt;
font-family:"MS Shell Dlg";color:black'>$IPT -A FORWARD -i $INT_IFACE -s
192.168.1.100 -p tcp --dport 143 -j ACCEPT</span></font><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none'><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none'><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none'><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'> I have these 2 rules in, do I need to add more rules in the INPUT
and OUTPUT chains?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

</div>

</body>

</html>