FTP through IP Masq'd network - How?

FTP through IP Masq'd network - How?

Post by al » Thu, 14 Jun 2001 08:09:42



I've got a small linux based network with several Windows boxes actually

having their IP's Masq'ed (192.168.1.1, 192.168.1.2, etc...).  One of
these Windows systems has an FTP server running on it - how do I ftp
from outside the network (ex. ftp from my system at work) so that I can
get files from this ftp server system which is being IP Masq'd?  In
other words, what IP address or information would I specify in an FTP
client on my work system so I could get files from the IP masq'd ftp
server?

Thanks

 
 
 

FTP through IP Masq'd network - How?

Post by Dean Thompso » Thu, 14 Jun 2001 11:28:48


Hi!,

Quote:> I've got a small linux based network with several Windows boxes actually

> having their IP's Masq'ed (192.168.1.1, 192.168.1.2, etc...).  One of
> these Windows systems has an FTP server running on it - how do I ftp
> from outside the network (ex. ftp from my system at work) so that I can
> get files from this ftp server system which is being IP Masq'd?  In
> other words, what IP address or information would I specify in an FTP
> client on my work system so I could get files from the IP masq'd ftp
> server?

You will have to either use a program like ipmasqadm to port forward
connections from a public IP address (most likely your firewall or masq'ing
server) to the internal machine.  Failing that, you can use a program called
"redir" to redirect the ports 20 and 21 to the desired machine.

If both of those tactics fail, then you can use a program called "rinetd"
which is a port redirector which can redirect incoming ports for you.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. IP Masq'd Workstation to connect to IP Masq'd Workstation

I have setup my Linux Box with IPMasq. Everything runs fine from my win box
behind the proxy. Now I just encountered a problem. I have tried to connect
to an ftp server that is behind NAT server which are both on winboxs

------------              -------------                   ------------      
        ------------------
|                 |             | IP Masq    |   Internet    |   NAT       |
| Win workstation |
| Win         |---------|    Linux      |------------|    Sygate
|---------|    FTP                |
|                 |             |   Proxy      |   Internet    |    Win box
|              | server                |
------------              -------------                   -------------    
        ------------------

I can't seem to connect to the FTP even when the FTP Client is set to
passive mode. Does anyone know whether there is anything I can do on my side
of the connection such as reconfiguring my Linux Box to fwd properly?

2. http

3. IP Masq/IP Chains Question (forwarding smtp to 'internal' mail server...)

4. Apache as Netscape Roaming Access Server

5. IP masq ftp's hang at 100 percent a possible solution

6. Apache compilation failes on RH6.0

7. ftp doesn't work w/IP masq

8. A problem with a shared library.

9. IP Masq - Ping & Telnet ok, but HTTP & FTP don't work

10. Quake thru IP Masq

11. FTP: Solaris thru Linux ipchains MASQ

12. ftp sessions thru masq hang -- is there a fix?

13. Allowing access to noly 1 site thru IP Masq?