Ip masquerade problem (apache & wu.ftpd)

Ip masquerade problem (apache & wu.ftpd)

Post by azkie » Mon, 23 Mar 1998 04:00:00

I've got some problem with a small LAN running ip masquerade. It consist of two
system: the server running Linux, slackware 3.4, kernel 2.0.33, 2 ethernet
cards, a cable modem with dynamic IP and inside the network. The
other machine being a win95 box known as connected via one ethernet
card to the Linux box.

Here is my problem: I can access httpd, port 80 (apache latest stable version)
inside the network (ie: can access on port 80) and can
also access ftpd, port 21 inside the network... But outside the network, via
the inet, I can't access any of those ports... trying to connect to the Linux
box via ftp I get: "ftp: connect: No route to host" error message. The other
services (telnet) work well from everywhere as is apache if listening on port

Here's my ipfwadm config lines:

/usr/sbin/ipfwadm -F -p deny
/usr/sbin/ipfwadm -F a -m -S -D

Thanks in advance...


1. wu-ftpd behind IP masquerading router

On 03 Dec 2002 22:13:50 -0500, Lam Dang staggered into the Black Sun and

Have your cron job update and rewrite /etc/ftpaccess when it updates the
A record?  I'm assuming your cron job knows what the IP address that's
required is.  All the cron job would have to do is something like:

# assumes the IP address is stored in IPADDR.
echo "passive ports 40000 40999" > /etc/ftpaccess
echo "passive address $IPADDR" >> /etc/ftpaccess

Adjust to taste if your ftpaccess file has other stuff in it.

Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com     /  "He is a rhythmic movement of the
-----------------------------/    penguins, is Tux." --MegaHAL

2. Determining subnet

3. in.ftpd zombie problem with wu-ftpd on RH6

4. does anyone know how to use long filenames in Linux?

5. wu-ftpd & site exec & tar

6. printing to an HP JetDirect Network Card?

7. wu-ftpd with RH v7 sending auth packet/wu-ftp connection delays SOLUTION

8. Sun C++ 3.0 vs. 4.0

9. wu-ftpd instead of ftpd

10. Wu.ftpd or linux-ftpd?

11. FreeBSD ftpd 6.0 vs wu-ftpd 2.4

12. Weirdness of solaris ftpd and wu-ftpd

13. How to install wu.ftpd or in.ftpd with chroot?