/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


Hi,
I have an ftp server behind a firewall working great using just what Gregory mentioned 
:
'ipmasqadm portfw -a -P tcp -L 10.10.10.10 21 -R 192.168.1.2 21' and
'ipmasqadm portfw -a -P tcp -L 10.10.10.10 20 -R 192.168.1.2 20'

Joao

Gregory Leblanc wrote:

> /* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
>
> > -----Original Message-----
> > From: Nik T [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 31, 2000 12:54 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Masq] ftp server behind firewall
> >
> > I have a RH LINUX PC running ip chains with 2 NICs with an
> > internet IP
> > 10.10.10.10. I have a win98 PC in the internal LAN
> > 192.168.1.3 which I want
> > to use as a ftp server so that the outside world can download
> > stuff off my
> > HDD. I do not want to install a ftp server on the RH LINUX
> > PC. Please advise
> > on the ipchains commands to use in order to allow the ftp
> > server running on
> > the internal win98 host to be accessed by the
> > internet?
>
> Assuming that you have a REAL ip where you've got 10.10.10.10 there, then it
> should be easy.  Try a command like (this if from memory, so check out the
> man page for ipmasqadm) 'ipmasqadm portfw -P tcp -L 10.10.10.10 21 -R
> 192.168.1.3 21' and the same thing for port 20.  Not sure if that will work
> properly, but it should get at least passive mode working, I think
>
>         Greg
> >
> > internet-------RH linux firewall--------------WIN98 host
> >       10.10.10.10        192.168.1.1        192.168.1.3
>
> _______________________________________________
> Masq maillist  -  [EMAIL PROTECTED]
> Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
>UNSUBSCRIBING!
> or email to [EMAIL PROTECTED]
>
> PLEASE read the HOWTO and search the archives before posting.
> You can start your search at http://www.indyramp.com/masq/
> Please keep general linux/unix/pc/internet questions off the list.

--
-----------------------------------------------------------------
Fabrica de Ideias
sbs - ed. empire center - sala 109 - cep 70070-904 - brasilia-df
tel: (61) 321 1357
fax: (61) 321 6096
[EMAIL PROTECTED]
-----------------------------------------------------------------

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to