Re: port translation on the same network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



iptables -t nat -A PREROUTING -i eth0 -d <my ip> -p tcp --dport 10001
-j SNAT --to <my ip>:9100

On Sun, 18 Jul 2004 19:34:28 +1000, gene bene <phacoboy@xxxxxxxxxx> 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
> 
>


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux