/* 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.