No subject


None


Recei
        ww183.netaddress.usa.net") by samba.org with SMTP
	id <S25799676AbQFWVol>; Sat, 24 Jun 2000 07:44:41 +1000
Received: (qmail 28588 invoked by uid 60001); 23 Jun 2000 21:43:23 -0000
Message-ID: <20000623214323.28587.qmail@ww183.netaddress.usa.net>
Received: from 204.68.24.83 by ww183 for [216.181.215.102] via web-mailer(34WB1.4.03) on Fri Jun 23 21:43:23 GMT 2000
Date:   23 Jun 00 17:43:23 EDT
From:   Eric Gandt <egandt@netscape.net>
To:     netfilter@samba.org
Subject: Problem forwading Connections
X-Mailer: USANET web-mailer (34WB1.4.03)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8BIT
Return-Path: <egandt@netscape.net>
X-Orcpt: rfc822;netfilter@samba.org

The problem is simple I want to play Vampire through iptables, but inorder to
do so I need to forward all connections (TCP and UDP) to 27960, to an internal
IP of 192.168.0.5 same port.  With IPCHAINS this was not a problem, and I
could find good clean simple demonstrations of how to do it, but IPTABLES has
no such simple easy to read/duplicate example from which to write this most
basic of rules.  I think it should look something like this, but this does not
work, nor can I find a clean example on the list.


/usr/local/bin/iptables -t nat -A PREROUTING -p tcp --dport 27960 -i eth1 -j
REDIRECT --to 192.168.0.5:27960
/usr/local/bin/iptables -t nat -A PREROUTING -p udp --dport 27960 -i eth1 -j
REDIRECT --to 192.168.0.5:27960

Where eth1 is my internal card and eth0 talks to the world.

Please respond, with any suggestions on how to fix this problem to: 
this list and egandt@netscape.net

Thanks for any help you can offer,
Eric Gandt
egandt@netscape.net

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.