[KLUG Members] netcat / ipchains?
Adam Bultman
members@kalamazoolinux.org
Tue, 30 Apr 2002 10:06:16 -0400 (EDT)
Hello..
I've got a host that has an ip address on eth0:0 . I need to forward all
traffic for that IP to another host. I've tried using netcat in
inetd.conf:
http stream tcp nowait root /usr/sbin/tcpd /usr/bin/nc -n -w 3
$DEST_IP 80
And that fails, curiously, and now I'm trying IP chains. However, I feel
as if I'm missing something very obvious. Am I? I don't know enough
IPchains to set up forwarding anyhow, so I would rather do it the netcat
route. IS the above command correct?
--
Adam Bultman
adam@glaven.org
[ http://www.glaven.org ]