Did you get a response from the list?  If not.. I'll give it
a whack..


>1: eth0 inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
>2: eth0 inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0

First.. does the Linux MASQ machine have one or two ethernet cards?


>I use this lines at startup to setup the masquerading:
>ipfwadm -F -p deny
>ipfwadm -F -a m -S 192.168.0.0/16 -D 0.0.0.0/0 -o

Three things here:

        1) I would recommend to use 192.168.1.0/24 instead
        2) Add the parameter "-W xyz" and replace xyz with
           the name of the interface that is going to the Internet
        3) Don't use the -o command here.   Thats silly.


>On the tests that I've done I have been able to telnet to an old linux
>machine with slackware 2.X but not to a solaris machine (after entering
>the password I didn't get anything else!), the ftp on that old linux box
>also worked (wu-ftpd) but on newer linux machines (ProFTPD) it didn't, the
>irc didn't work, http neither, ... the only ones that worked perfectly
>were icmp based tests!

You need to be more explict here.  TELNET from where?  The MASQing Linux
box?  Are you TELNETing from the internal LAN to another internal LAN
machine?  To the Internet?

--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Remote Access/Linux/PC hardware      [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to