From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5b33745988f44442b8b92ea141759cea.axp-list@archive.invalid> X-Archive-Original-Message-ID: <<199704110220.WAA05283@ tikva>> Date: Thu, 10 Apr 1997 22:20:54 -0400 (EDT) From: Daniel Gruner Subject: Re: ipfwadm (maybe not axp specific problem?) In-Reply-To: > > 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