Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20889 - Netfilter NAT does not work with gentoo-sources 2.4.20-r5
Summary: Netfilter NAT does not work with gentoo-sources 2.4.20-r5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Jay Pfeifer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-12 20:19 UTC by Jim Healzer
Modified: 2003-05-12 22:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Healzer 2003-05-12 20:19:49 UTC
I recently compiled a gentoo-sources 2.4.20-r5 kernel, with all netfilter options 
compiled as modules.  The network address translation part of my firewall/NAT script 
no longer works--specifically, when I enter the following iptables command: 
 
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE 
 
I get the error message "iptables: invalid argument".  The remainder of my firewall/NAT 
script works fine.  The appropriate modules appear to be loaded.  My script works fine 
with a kernel compiled from "vanilla-sources".  I have also tried compiling all netfilter 
stuff directly into the kernel, same result.   

Reproducible: Always
Steps to Reproduce:
1.Compile gentoo-sources 2.4.20-r5, netfilter options either as modules or compiled in. 
2.Attempt to configure network address translation using netfilter nat table. 
3. 
Actual Results:  
Unable to load network address translation rules into netfilter nat table. 

Expected Results:  
Network address translation should work as it does with a vanilla-sources kernel.
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-12 20:51:17 UTC
read the post package install for the ebuild. they were cleary displayed when emerging... i'll quote for you:

"If iptables/netfilter behaves abnormally, such as 'Invalid Argument', you will need to re-emerge iptables to restore proper functionality."

closing.

Jay
Comment 2 Jim Healzer 2003-05-12 22:28:11 UTC
Thank you for your response, and sorry for the trouble.