From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Alexandru Dragoi Subject: Re: port translation on the same network Date: Mon, 19 Jul 2004 06:39:20 +0300 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3063e5040718203923f5edaf@mail.gmail.com> References: <001701c46caa$6d99c290$d802d98a@smaug> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <001701c46caa$6d99c290$d802d98a@smaug> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org iptables -t nat -A PREROUTING -i eth0 -d -p tcp --dport 10001 -j SNAT --to :9100 On Sun, 18 Jul 2004 19:34:28 +1000, gene bene wrote: > I have a print job in my network which comes in on port 10001 raw packets > (from a citrix server) > > I need to use iptables to translate the port number to 9100 > > I have tried to set up a virtual ip (eth0:0) and use DNAT and SNAT to > translate the port with no success. > > Can anyone help me with the correct settings? > > Gene > >