Re!

On Mon, 2002-04-01 at 23:03, Tobias Bengtsson wrote:

> [EMAIL PROTECTED]:~$ sudo ipmasqadm autofw -A -r tcp 20000 20020 -h 
> 192.168.1.10
> autofw: setsockopt failed: Invalid argument
>
> I'm running the latest kernel, 2.4.18,  just recently compiled with 
> ipchains support

Try it with iptables, it far more simple:

# port forwarding to NAT
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 20000 -j DNAT --to
192.168.1.10:20020


Andraz
[EMAIL PROTECTED]

-- 
   "Weekends don't count unless you spend them doing something
completely
pointless." -Calvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to