> 
> 
> Godmar Back <[EMAIL PROTECTED]> wrote:
> >
> > >     [root@c80384-a rc.d]# ipmasqadm portfw -l
> > >     portfw: setsockopt failed: Invalid argument
> > >     Could not open "/proc/net/ip_masq/portfw"
> > >     Could not open "/proc/net/ip_portfw"
> > >     Check if you have enabled portforwarding
> 
> Here "Check if you have enabled portforwarding" means that you should be
> sure that you configured the "CONFIG_IP_MASQUERADE_IPPORTFW" option into
> the kernel, and if you have compiled it as a module, that you have
> loaded the "ip_masq_portfw" module.  It will not auto-load, as far as I
> can tell.
> 

I see.  I must admit that I was using "make xconfig".
That explains everything.

According to /usr/src/linux/net/ipv4/Config.in,
you have to first enable "Code maturity options -> Experimental"
and then you have to enable "Networking Options -> IP: masquerading 
special modules support" and only it offers you to build the ipportfw
module.

Thanks,

        - Godmar



_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to