From: Daniel Gruner <dgruner@tikva.chem.utoronto.ca>
Subject: Re: ipfwadm (maybe not axp specific problem?)
Date: Thu, 10 Apr 1997 22:20:54 -0400 (EDT) [thread overview]
Message-ID: <5b33745988f44442b8b92ea141759cea.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.SGI.3.95.970410040201.24962A-100000@sigma.bgsu.edu>
>
> I've been having a few problems making IP masquerading work on my
> system. I've thoroughly read the IP masquerade HOW-TO, and implemented
> it's instructions. I can set up the ethernet and ppp connections fine,
> but ipfwadm breaks on the last necessary line in the HOW-TO. I enter:
>
> ipfwadm -F -p deny
>
> first, and it does this just fine returning me to the prompt. Then I do:
>
> ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0 (yes, I'm aware of
> the potential security problem here...)
>
> and the computer returns:
>
> ipfwadm: setsockopt failed: Invalid argument
>
> I'mnot sure whether this is an AXP-only problem, but I can't figure it out
> in any case. I've even changed -a m to -a masquerade as shown later in
> the HOW-TO and I get the same message. Is there something wrong with
> ipfwadm for axp, or is it becoming blatently obvious to the members of the
> list that I can't read a simple HOW-TO? Thanks in advance.
>
> Nick Bastin
> System Admin - World Trade Internet Communications
>
I have been successfully running a masqueraded network for months now,
using the exact same command written above. My system is RH4.0
2.0.27 kernel, and the following firewall options:
#
# Networking options
#
CONFIG_FIREWALL=y
CONFIG_NET_ALIAS=y
CONFIG_INET=y
CONFIG_IP_FORWARD=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_VERBOSE=y
CONFIG_IP_MASQUERADE=y
#
# Protocol-specific masquerading support will be built as modules.
#
CONFIG_IP_TRANSPARENT_PROXY=y
CONFIG_IP_ALWAYS_DEFRAG=y
CONFIG_IP_ACCT=y
CONFIG_IP_ROUTER=y
CONFIG_NET_IPIP=y
# CONFIG_IP_MROUTE is not set
CONFIG_IP_ALIAS=y
I explicitly load the ftp masquerading module:
insmod -v /lib/modules/2.0.27/ipv4/ip_masq_ftp.o
Daniel
--
Dr. Daniel Gruner dgruner@tikva.chem.utoronto.ca
Dept. of Chemistry phone: (416)-978-8689
University of Toronto fax: (416)-978-5325
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1997-04-11 2:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.SGI.3.95.970410040201.24962A-100000@sigma.bgsu.edu>
1997-04-10 9:35 ` ipfwadm (maybe not axp specific problem?) Joni Mikael Virtanen
1997-04-10 14:21 ` Alvin Starr
1997-04-11 2:20 ` Daniel Gruner [this message]
1997-04-16 1:35 John Schauer
[not found] <Pine.OSF.3.91.970410093752.29178B-100000@caesar.iplink.net>
1997-04-10 18:33 ` Nicholas Alexander Bastin
-- strict thread matches above, loose matches on Subject: below --
1997-04-10 8:08 Nicholas Alexander Bastin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox