Networking Forums

Networking Forums > Computer Networking > Linux Networking > kernel 2.4.24 NO '/proc/net/ip_masquerade' whatever configuration

Reply
Thread Tools Display Modes

kernel 2.4.24 NO '/proc/net/ip_masquerade' whatever configuration

 
 
Mario Premke
Guest
Posts: n/a

 
      02-04-2004, 02:51 PM
Hello,
Sorry for going on your nerves with this kind of newbie question, but I have
no ideas (any more) of how to solve this problem ... for now I have tried
many, many times to compile a kernel with MASQ support without success and
meanwhile I updated to 2.4.25-pre8 in the hope a newer kernel would bring
the solution.

<--- SNIP --->
#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y

CONFIG_NETFILTER=y

CONFIG_UNIX=y
CONFIG_INET=y

CONFIG_SYN_COOKIES=y

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=m

CONFIG_IP_NF_IRC=m

CONFIG_IP_NF_IPTABLES=y

CONFIG_IP_NF_MATCH_MAC=m

CONFIG_IP_NF_MATCH_MARK=y
CONFIG_IP_NF_MATCH_MULTIPORT=y

CONFIG_IP_NF_MATCH_TCPMSS=m

CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_UNCLEAN=m

CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y

CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=m

CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_MANGLE=y

CONFIG_IP_NF_TARGET_LOG=y

CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m

[for better readability I left out the outcommented rows]
<--- SNIP --->

'ls /proc/net' doesn't show ip_masquerade:

root@fire net # ls -l
total 0
-r--r--r-- 1 root root 0 Feb 4 14:50 arp
-r--r--r-- 1 root root 0 Feb 4 14:50 dev
-r--r--r-- 1 root root 0 Feb 4 14:50 dev_mcast
dr-xr-xr-x 2 root root 0 Feb 4 14:50 drivers
-r--r--r-- 1 root root 0 Feb 4 14:50 ip_conntrack
-r--r--r-- 1 root root 0 Feb 4 14:50 ip_tables_matches
-r--r--r-- 1 root root 0 Feb 4 14:50 ip_tables_names
-r--r--r-- 1 root root 0 Feb 4 14:50 ip_tables_targets
-r--r--r-- 1 root root 0 Feb 4 14:50 mcfilter
-r--r--r-- 1 root root 0 Feb 4 14:50 netlink
-r--r--r-- 1 root root 0 Feb 4 14:50 netstat
-r--r--r-- 1 root root 0 Feb 4 14:50 packet
-r--r--r-- 1 root root 0 Feb 4 14:50 raw
-r--r--r-- 1 root root 0 Feb 4 14:50 route
-r--r--r-- 1 root root 0 Feb 4 14:50 rt_cache
-r--r--r-- 1 root root 0 Feb 4 14:50 rt_cache_stat
-r--r--r-- 1 root root 0 Feb 4 14:50 snmp
-r--r--r-- 1 root root 0 Feb 4 14:50 sockstat
-r--r--r-- 1 root root 0 Feb 4 14:50 softnet_stat
-r--r--r-- 1 root root 0 Feb 4 14:50 tcp
-r--r--r-- 1 root root 0 Feb 4 14:50 udp
-r--r--r-- 1 root root 0 Feb 4 14:50 unix
-r--r--r-- 1 root root 0 Feb 4 14:50 wireless

And iptables doesn't seem to know Masquerading as well:

<--- SNIP --->
root@fire root # iptables --version
iptables v1.2.8
root@fire root # iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables: Invalid argument
<--- SNIP --->

ANY hints will be greatly appreciated, since I am already on the edge of
getting heavily frustrated ...
BTW I am running Gentoo.

Thanks,
Mario




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get data in kernel SEND buffer for a TCP socket from a netfilter based kernel module Rohit Linux Networking 0 05-10-2007 11:27 AM
Kernel configuration and networking options. Marco A. Cruz Quevedo Linux Networking 2 04-23-2007 04:12 AM
killing a kernel thread ....... UDP server (kernel module)......... alex Linux Networking 0 09-20-2006 11:26 AM
Added some debugging stuff under net/ipv4, I can see the new function in System.map file, I can't see that under /proc/ksyms once I loaded new kernel, why? santa19992000@yahoo.com Linux Networking 0 08-22-2005 03:45 PM
PCMCIA SMC2835W card not recognized by kernel-2.4.* and kernel-2.6.5 Jorge Ventura Linux Networking 0 05-03-2004 08:08 PM



1 2 3 4 5 6 7 8 9 10 11