[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: port forwarding



On Sun, Aug 05, 2001 at 02:36:45PM -0400, Michael P. Soulier wrote:
>     Hey people. 
> 
>     I'm trying to set up port forwarding to permit file sharing with napster
> from behind my firewall. So, looking up a friendly howto, I then entered this:
> 
> rabbit:~# ipmasqadm portfw -a -P tcp -L 24.114.252.76 6699 -R 192.168.0.2 6699 
> portfw: setsockopt failed: Invalid argument

In my experience, the cryptic "Invalid argument" error means there's 
something missing in the kernel that the command requires. I don't 
know what ipmasqadm needs; if it runs on top of ipchains I think you 
need at least a 2.2.x kernel. (2.0.x has ipfwadm, 2.2.x has ipchains, 
and now 2.4.x has iptables (with backward compatibility for the other 
two)). You might want to read some docs, this kind of thing should be 
explained.

HTH,
Mike McGuire



Reply to: