Re: [masq] [masq] FTP broken

1998-05-26 Thread Bill Eldridge

if [ -f /sbin/depmod ]; then
   /sbin/depmod -a
fi
if [ -f /sbin/modprobe ]; then
   /sbin/modprobe ip_masq_ftp
   /sbin/modprobe ip_masq_raudio
fi
 
--
Bill Eldridge
Radio Free Asia
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Tuesday, May 26, 1998 6:03 PM
Subject: [masq] FTP broken


Hello,

I am not sure what happened or when.  I set up IP Masquerade on a Linux
Box (slakware 2.0.30) and had telnet, FTP and HTTP working from a number
of machines behind the linux machine.  For some reason, outgoing FTP does
not work anymore.  To make matters worse, I am so new to linux, that I
don't know where to start looking.  I have set up a minimum system and did
not intentionally filter any packets when set things up.

After setting up eth0  eth1, I set up for masqurade with:

  echo "1" /proc/sys/net/ipv4/ip_forward
  ipfwadm -F -a m -S 192.168.200.0/24 -D 0.0.0.0/0

Here is a typical attempt to use FTP from my internal system to a system
elseware on the internet.  If I use a dialup connection from the same
machine I have no problems.
--
Name (brentwoodlake): brentwoodlake
331 Password required for brentwoodlake
Password: .
230 User brentwoodlake logged in.  Access restrictions apply.  ftp ls
500 Illegal PORT Command
ftp ls
500 Illegal PORT Command
ftp cd ..
250 CWD command successful.
ftp ls
500 Illegal PORT Command
ftp


The login works, but after that I can't *do* anything.  Other systems
complain about the PORT argument being wrong.

Thanks in advance,
Mark Stamos



--  
---
[EMAIL PROTECTED]

PGP PUBLIC KEY:
 finger [EMAIL PROTECTED]
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]



Re: [masq] FTP broken

1998-05-26 Thread Bob Simpson


For some reason, outgoing FTP does
not work anymore.

The login works, but after that I can't *do* anything.  Other systems
complain about the PORT argument being wrong.

I believe you need to load the ip_masq_ftp.o module (try *insmod
ip_masq_ftp*), or use PASV (passive) mode ftp.  You enter passive mode with
the command *quote pasv* after logging in.  Not all ftp clients support this
option correctly, so the best long term fix is to load the module designed to
fix this problem.

-Bob Simpson
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]