Setting Up IP Forwarding/Masquerading on Red Hat

jwantz at hpcc.noaa.gov jwantz at hpcc.noaa.gov
Fri Aug 2 19:17:19 EDT 2002


Janina,
I am using Bill's 2.4.18_4spk.  What you probably did is leave your 
security at medium when you installed 7.3.  That means you are running 
ipchains.  What you want to do is shut that down (and don't forget to do 
a chkconfig --levels 0123456 off).  Then do something like: iptables -L 
to make sure iptables are loaded properly.  Then try iptables -t nat -L 
to make sure your iptables nat module is there.  ipchains and iptables 
really can't coexist at all!

    Jim
On Fri, 2 Aug 2002, Janina Sajka wrote:

> On Fri, 2 Aug 2002, Gregory Nowak wrote:
> 
> > What is your kernel config like (I.E. the pertinant portion of your /usr/src/linux/.config)?
> 
> As with the RH default. I haven't done a custom kernel. Here's the part I 
> think you mean:
> 
> 
> #   IP: Netfilter Configuration
> #
> CONFIG_IP_NF_CONNTRACK=m
> CONFIG_IP_NF_FTP=m
> CONFIG_IP_NF_IRC=m
> CONFIG_IP_NF_QUEUE=m
> CONFIG_IP_NF_IPTABLES=m
> CONFIG_IP_NF_ARPTABLES=m
> CONFIG_IP_NF_ARPFILTER=m
> CONFIG_IP_NF_MATCH_LIMIT=m
> CONFIG_IP_NF_MATCH_MAC=m
> CONFIG_IP_NF_MATCH_MARK=m
> CONFIG_IP_NF_MATCH_MULTIPORT=m
> CONFIG_IP_NF_MATCH_TOS=m
> CONFIG_IP_NF_MATCH_TCPMSS=m
> CONFIG_IP_NF_MATCH_STATE=m
> CONFIG_IP_NF_MATCH_UNCLEAN=m
> CONFIG_IP_NF_MATCH_OWNER=m
> CONFIG_IP_NF_MATCH_LENGTH=m
> CONFIG_IP_NF_MATCH_TTL=m
> # CONFIG_IP_NF_MATCH_AH_ESP is not set
> CONFIG_IP_NF_FILTER=m
> CONFIG_IP_NF_TARGET_REJECT=m
> CONFIG_IP_NF_TARGET_MIRROR=m
> CONFIG_IP_NF_NAT=m
> CONFIG_IP_NF_NAT_NEEDED=y
> CONFIG_IP_NF_NAT_SNMP_BASIC=m
> # CONFIG_IP_NF_NAT_LOCAL is not set
> CONFIG_IP_NF_TARGET_MASQUERADE=m
> # CONFIG_IP_NF_TARGET_ULOG is not set
> CONFIG_IP_NF_TARGET_REDIRECT=m
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 





More information about the Speakup mailing list