Issues with ipmasqadm/port forwarding

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Tyler Hall
Date:  
Subject: Issues with ipmasqadm/port forwarding
This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C192AF.25B36350
Content-Type: text/plain;
    charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Happy New Years;=20

I'm having some issues with port forwarding. I'm using this command;


[root@router tyler]# ipmasqadm portfw -a -P tcp -L 206.100.120.175 80 -R =
192.168.0.15 80

and sometimes, I can do a nmap (from another box) and it will show port =
80 as open;

80/tcp     open        http        =20


But other times, when I do it again, it will show it as

80/tcp     filtered      http        =20


If its filtered, I won't be able to connect to it. It does the same =
thing with the ftp port, so I'm confused. If it's filtered, it will =
just sit there;

[root@router tyler]# ipmasqadm portfw -a -P tcp -L 206.100.120.175 1500 =
-R 192.168.0.3 21
[thall@wampa thall]$ ftp 206.100.120.175 1500
After Control-C'ing it; I try another port;=20

[thall@wampa thall]$ ftp 206.100.120.175 1358
ftp: connect: Connection refused
ftp> quit


and it refuses it right away.  So its trying to make a connection, but =
just sits there.     Anyone else have a idea?


Tyler


------=_NextPart_000_000F_01C192AF.25B36350
Content-Type: text/html;
    charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Happy New Years; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm having some issues with port=20
forwarding.&nbsp;&nbsp; I'm using this command;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[root@router tyler]# ipmasqadm portfw =
-a -P tcp -L=20
206.100.120.175 80 -R 192.168.0.15 80</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and sometimes,&nbsp; I can do a nmap =
(from another=20
box) and it will show port 80 as open;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>80/tcp&nbsp;&nbsp;&nbsp;&nbsp;=20
open&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
http&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>But other times, when I do it again, it =
will show=20
it as</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>80/tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filtered&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
http&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If its filtered, I won't be able to =
connect to=20
it.&nbsp; It does the same thing with the ftp port, so I'm =
confused.&nbsp; If=20
it's filtered, it will just sit there;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[root@router tyler]# ipmasqadm portfw =
-a -P tcp -L=20
206.100.120.175 1500 -R 192.168.0.3 21</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>[thall@wampa thall]$ ftp =
206.100.120.175=20
1500</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>After Control-C'ing it;&nbsp; I try =
another port;=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[thall@wampa thall]$ ftp =
206.100.120.175=20
1358<BR>ftp: connect: Connection refused<BR>ftp&gt; quit</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and it refuses it right away.&nbsp; So =
its trying=20
to make a connection, but just sits there.&nbsp;&nbsp;&nbsp;&nbsp; =
Anyone else=20
have a idea?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Tyler</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000F_01C192AF.25B36350--