FW: Nat problem

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

 



Hi people 
    I have a little nat problem
 
I write that 
    iptables -t nat -I POSTROUTING -p tcp -d X.X.X.X --dport 88 -j DNAT
--to-destination X.X.X.X --dport 80
 
and i just get that 
 
iptables v1.2.7a: Only one `--destination-port' allowed
Try `iptables -h' or 'iptables --help' for more information.
 
 
What i was trying to do was  
 
                                  _______
________________
internet------>----port 88  firewall  --->--- port 80  : machine on the lan 


How can i do it :) ?                           



[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