I have a Linux box running 2.0.36 (RedHat 5.2). I installed the NAT patches for 2.0.36 with no problem. However, when I
ran ipnatadm, I got the following error:
# ipnatadm -I -i -S 10.0.2.0/24 -M 10.0.3.0/24
ipnatadm: setsockopt failed: Protocol not available
This also happend when I tried other options of ipnatadm such as -O, and -F. NAT is compiled in the kernel itself, not as a module. I checked ".config" which has CONFIG_IP_NAT=y. I also checked the source files for the patches. The necessary changes (as specified in KERNEL_CHANGES) are all there.
I've tried two patches for 2.0.36: one with NAT only, the other with all three parts. For ipnatadm, I complied my own and also tried the binary downloaded, but still got the same problem.
Could anyone help me out on this one? Thank you in advance.