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


Hans Schimek <[EMAIL PROTECTED]> wrote:
>
> i have read that you are in touch with the IP-Masquerading Topic - i
> have read the Mini-Howto ( http://members.home.net/ipmasq/ ) and
> followed all the steps there.  -

I usually recommend that cries for help, such as this, be directed to
the masquerade mailing list, instead of directly to me.  If you send a
message to me, I might forget about it, or be too busy to respond.  If
you address your message to the list, there is a much better chance of
someone responding to it quickly.

Also, a message on the list will be shared by everyone, so that others
can learn from the experiences presented.  The results will be archived
for future network troubleshooters to make use of.


> i succeeded partly - (after my first installation those files: 
> rc.local and rc.firewall had not been there ( /etc/rc.d/..  ) - so i
> created them -

Most unix distributions have an "rc.local" script, which you can use to
customize your system startup, by adding shell commands of your
choosing.  The "rc.firewall" script is something that many
administrators create, because firewalls can be complex, so keeping the
firewall configuration separate from the other random things one might
find in rc.local, turns out to be a good idea.

However, simply creating an "rc.firewall" script will not guarantee that
it will be run.  You usually have to add a command to rc.local, such as
this (which I use):

    # Set up the firewall

        if [ -x /etc/rc.d/rc.firewall ]
        then
            /etc/rc.d/rc.firewall
        fi

> it executes and wrote that modules have been loaded - ( some error -
> as ipx,appletalk- which i am not using ) -

The "ifconfig" command tries to load all network protocols that your
ethernet interface might want to make use of.  You can get rid of those
messages by telling the module-loader that those modules will not be
used.  Edit /etc/modules.conf, and add these lines:

    alias       net-pf-4        off             # IPX
    alias       net-pf-5        off             # appletalk

> after this file was executed I could PING all hosts - but i also tried
> telnet ( which was described in the TESTING-Section ) - but TELNET doesn`t
> work - i also entered an IP-Address in the browser - but also this failed!

I'm not sure what commands you put in your rc.firewall, so I'm not sure
what to tell you.

> trying this command /sbin/ipfwadm -F -l : ( i got )
> 
> ports         ip               destination            ports
> 
> all           192.168.0.0/24        any                        n/a

The output of the "list" commands is not complete, unless you add the
"-v" option for ipchains, or the "-e" op
_______________________________________________
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