Re: portfw problems
Re!
On Mon, 2002-04-01 at 23:03, Tobias Bengtsson wrote:
> tjolle@super8:~$ 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
a@aufbix.org
--
"Weekends don't count unless you spend them doing something
completely
pointless." -Calvin
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: